Bug 2148510 (CVE-2022-45884) - CVE-2022-45884 kernel: use-after-free due to race condition occurring in dvb_register_device()
Summary: CVE-2022-45884 kernel: use-after-free due to race condition occurring in dvb_...
Keywords:
Status: NEW
Alias: CVE-2022-45884
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2148511 2153541 2153542 2153543 2153544
Blocks: 2150349
TreeView+ depends on / blocked
 
Reported: 2022-11-25 17:36 UTC by Guilherme de Almeida Suckevicz
Modified: 2024-04-17 19:05 UTC (History)
36 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A race condition flaw leading to a use-after-free issue was found in the Linux kernel media subsystem in the DVB core device driver. It could occur in the dvb_register_device() function due to the file_operations structure (fops) being dynamically allocated and later kfreed. A local user could use this flaw to crash the system or potentially escalate their privileges on the system.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:7398 0 None None None 2023-11-21 11:42:00 UTC
Red Hat Product Errata RHSA-2023:7539 0 None None None 2023-11-28 15:35:36 UTC
Red Hat Product Errata RHSA-2023:7548 0 None None None 2023-11-28 15:11:26 UTC
Red Hat Product Errata RHSA-2023:7549 0 None None None 2023-11-28 15:23:42 UTC

Description Guilherme de Almeida Suckevicz 2022-11-25 17:36:17 UTC
An issue was discovered in the Linux kernel through 6.0.9. drivers/media/dvb-core/dvbdev.c has a use-after-free, related to dvb_register_device dynamically allocating fops.

References:
https://lore.kernel.org/linux-media/20221115131822.6640-4-imv4bel@gmail.com/
https://lore.kernel.org/linux-media/20221115131822.6640-1-imv4bel@gmail.com/

Comment 1 Guilherme de Almeida Suckevicz 2022-11-25 17:36:42 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2148511]

Comment 8 Justin M. Forbes 2023-09-25 16:55:54 UTC
This was fixed for Fedora with the 6.3.7 stable kernel updates.

Comment 11 errata-xmlrpc 2023-11-21 11:41:58 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Extended Update Support

Via RHSA-2023:7398 https://access.redhat.com/errata/RHSA-2023:7398

Comment 12 errata-xmlrpc 2023-11-28 15:11:23 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:7548 https://access.redhat.com/errata/RHSA-2023:7548

Comment 13 errata-xmlrpc 2023-11-28 15:23:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:7549 https://access.redhat.com/errata/RHSA-2023:7549

Comment 14 errata-xmlrpc 2023-11-28 15:35:33 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Extended Update Support

Via RHSA-2023:7539 https://access.redhat.com/errata/RHSA-2023:7539


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