Bug 2131374 (CVE-2022-41848) - CVE-2022-41848 kernel: Race condition between mgslpc_ioctl and mgslpc_detach
Summary: CVE-2022-41848 kernel: Race condition between mgslpc_ioctl and mgslpc_detach
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2022-41848
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2131375
Blocks: 2131376
TreeView+ depends on / blocked
 
Reported: 2022-09-30 19:50 UTC by Pedro Sampaio
Modified: 2023-04-04 12:21 UTC (History)
52 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-10-26 17:18:49 UTC
Embargoed:


Attachments (Terms of Use)

Description Pedro Sampaio 2022-09-30 19:50:06 UTC
drivers/char/pcmcia/synclink_cs.c in the Linux kernel through 5.19.12 has a race condition and resultant use-after-free if a physically proximate attacker removes a PCMCIA device while calling ioctl, aka a race condition between mgslpc_ioctl and mgslpc_detach.

References:

https://lore.kernel.org/lkml/20220919040251.GA302541@ubuntu/T/#rc85e751f467b3e6f9ccef92cfa7fb8a6cc50c270
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drivers/char/pcmcia/synclink_cs.c

Comment 1 Pedro Sampaio 2022-09-30 19:50:34 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2131375]


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