Bug 2148520 (CVE-2022-45887) - CVE-2022-45887 kernel: memory leak in ttusb_dec_exit_dvb() in media/usb/ttusb-dec/ttusb_dec.c
Summary: CVE-2022-45887 kernel: memory leak in ttusb_dec_exit_dvb() in media/usb/ttusb...
Keywords:
Status: NEW
Alias: CVE-2022-45887
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: 2148521 2153575 2153576 2153577 2153578 2153579 2153580
Blocks: 2150349
TreeView+ depends on / blocked
 
Reported: 2022-11-25 17:48 UTC by Guilherme de Almeida Suckevicz
Modified: 2024-10-12 08:27 UTC (History)
34 users (show)

Fixed In Version: kernel 6.4-rc3
Doc Type: If docs needed, set a value
Doc Text:
A memory leak issue was found in the Linux kernel media subsystem in the TTUSB DEC driver. It could occur in the ttusb_dec_exit_dvb() function because of the lack of a dvb_frontend_detach call. A local user could trigger this flaw by repeatedly plugging and unplugging the device, potentially causing a denial of service condition.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2023:7268 0 None None None 2023-11-15 18:25:09 UTC
Red Hat Product Errata RHBA-2023:7328 0 None None None 2023-11-16 11:38:41 UTC
Red Hat Product Errata RHBA-2023:7338 0 None None None 2023-11-16 18:04:01 UTC
Red Hat Product Errata RHBA-2023:7343 0 None None None 2023-11-20 01:58:23 UTC
Red Hat Product Errata RHBA-2023:7346 0 None None None 2023-11-20 09:25:29 UTC
Red Hat Product Errata RHSA-2023:6901 0 None None None 2023-11-14 15:14:44 UTC
Red Hat Product Errata RHSA-2023:7077 0 None None None 2023-11-14 15:20:19 UTC
Red Hat Product Errata RHSA-2024:0724 0 None None None 2024-02-07 16:29:35 UTC
Red Hat Product Errata RHSA-2024:1404 0 None None None 2024-03-19 17:26:55 UTC

Description Guilherme de Almeida Suckevicz 2022-11-25 17:48:03 UTC
An issue was discovered in the Linux kernel through 6.0.9. drivers/media/usb/ttusb-dec/ttusb_dec.c has a memory leak because of the lack of a dvb_frontend_detach call.

References:
https://lore.kernel.org/linux-media/20221115131822.6640-5-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:48:29 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2148521]

Comment 7 Mauro Matteo Cascella 2023-07-18 10:47:39 UTC
Upstream fix:
https://github.com/torvalds/linux/commit/517a28133832

Comment 8 Justin M. Forbes 2023-09-25 16:51:39 UTC
This was fixed for Fedora in the 6.3.7 stable kernel updates.

Comment 9 errata-xmlrpc 2023-11-14 15:14:41 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 10 errata-xmlrpc 2023-11-14 15:20:16 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 13 errata-xmlrpc 2024-02-07 16:29:32 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Extended Update Support

Via RHSA-2024:0724 https://access.redhat.com/errata/RHSA-2024:0724

Comment 15 errata-xmlrpc 2024-03-19 17:26:52 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Extended Update Support

Via RHSA-2024:1404 https://access.redhat.com/errata/RHSA-2024:1404


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