Bug 2258012 (CVE-2022-48619) - CVE-2022-48619 kernel: event code falling outside of a bitmap in input_set_capability() leads to panic
Summary: CVE-2022-48619 kernel: event code falling outside of a bitmap in input_set_ca...
Keywords:
Status: NEW
Alias: CVE-2022-48619
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2263748
Blocks: 2258025
TreeView+ depends on / blocked
 
Reported: 2024-01-12 06:14 UTC by TEJ RATHI
Modified: 2024-02-28 06:19 UTC (History)
46 users (show)

Fixed In Version: kernel 5.18-rc1
Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in drivers/input/input.c in the Linux Kernel, where the input_set_capability() function mishandles scenarios where an event code is outside the bitmap. This issue can lead to a kernel panic when the event code exceeds the bitmap for the specified event type, which could allow an attacker to cause a kernel crash and potential disruption of services.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description TEJ RATHI 2024-01-12 06:14:36 UTC
An issue was discovered in drivers/input/input.c in the Linux kernel before 5.17.10. An attacker can cause a denial of service (panic) because input_set_capability mishandles the situation in which an event code falls outside of a bitmap.

https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.17.10
https://github.com/torvalds/linux/commit/409353cbe9fe48f6bc196114c442b1cff05a39bc

Comment 2 Alex 2024-02-11 16:03:38 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2263748]

Comment 4 Justin M. Forbes 2024-02-15 19:26:58 UTC
This was fixed for Fedora with the 5.17.10 stable kernel updates.


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