Bug 1226742 (CVE-2024-38554) - VUL-0: CVE-2024-38554: kernel: ax25: Fix reference count leak issue of net_device
Summary: VUL-0: CVE-2024-38554: kernel: ax25: Fix reference count leak issue of net_de...
Status: NEW
Alias: CVE-2024-38554
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Davide Benini
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/411348/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-38554:4.1:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-21 11:16 UTC by SMASH SMASH
Modified: 2024-07-08 15:12 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-06-21 11:16:29 UTC
In the Linux kernel, the following vulnerability has been resolved:

ax25: Fix reference count leak issue of net_device

There is a reference count leak issue of the object "net_device" in
ax25_dev_device_down(). When the ax25 device is shutting down, the
ax25_dev_device_down() drops the reference count of net_device one
or zero times depending on if we goto unlock_put or not, which will
cause memory leak.

In order to solve the above issue, decrease the reference count of
net_device after dev->ax25_ptr is set to null.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-38554
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-38554.mbox
https://git.kernel.org/stable/c/3ec437f9bbae68e9b38115c4c91de995f73f6bad
https://git.kernel.org/stable/c/965d940fb7414b310a22666503d2af69459c981b
https://git.kernel.org/stable/c/8bad3a20a27be8d935f2aae08d3c6e743754944a
https://git.kernel.org/stable/c/eef95df9b752699bddecefa851f64858247246e9
https://git.kernel.org/stable/c/36e56b1b002bb26440403053f19f9e1a8bc075b2
https://www.cve.org/CVERecord?id=CVE-2024-38554
https://bugzilla.redhat.com/show_bug.cgi?id=2293445