Bug 2300705 (CVE-2024-42092) - CVE-2024-42092 kernel: gpio: davinci: Validate the obtained number of IRQs
Summary: CVE-2024-42092 kernel: gpio: davinci: Validate the obtained number of IRQs
Keywords:
Status: NEW
Alias: CVE-2024-42092
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2301747
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-29 18:20 UTC by OSIDB Bzimport
Modified: 2024-07-31 04:48 UTC (History)
4 users (show)

Fixed In Version: kernel 4.19.317, kernel 5.4.279, kernel 5.10.221, kernel 5.15.162, kernel 6.1.97, kernel 6.6.37, kernel 6.9.8, kernel 6.10
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-07-29 18:20:27 UTC
In the Linux kernel, the following vulnerability has been resolved:

gpio: davinci: Validate the obtained number of IRQs

Value of pdata->gpio_unbanked is taken from Device Tree. In case of broken
DT due to any error this value can be any. Without this value validation
there can be out of chips->irqs array boundaries access in
davinci_gpio_probe().

Validate the obtained nirq value so that it won't exceed the maximum
number of IRQs per bank.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Comment 1 Mauro Matteo Cascella 2024-07-30 17:37:50 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024072906-CVE-2024-42092-8375@gregkh/T

Comment 2 Mauro Matteo Cascella 2024-07-30 17:38:15 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2301747]


Note You need to log in before you can comment on or make changes to this bug.