CVEvulnerability
CVE-2024-38554
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-06-19
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Description
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.
Affected configurations
• linux linux kernel (>= 5.17 < 6.1.93)
• linux linux kernel (>= 6.2 < 6.6.33)
• linux linux kernel (>= 6.7 < 6.8.12)
• linux linux kernel (>= 6.9 < 6.9.3)
References
- https://git.kernel.org/stable/c/36e56b1b002bb26440403053f19f9e1a8bc075b2 Patch
- https://git.kernel.org/stable/c/3ec437f9bbae68e9b38115c4c91de995f73f6bad Patch
- https://git.kernel.org/stable/c/8bad3a20a27be8d935f2aae08d3c6e743754944a Patch
- https://git.kernel.org/stable/c/965d940fb7414b310a22666503d2af69459c981b Patch
- https://git.kernel.org/stable/c/eef95df9b752699bddecefa851f64858247246e9 Patch
- https://git.kernel.org/stable/c/36e56b1b002bb26440403053f19f9e1a8bc075b2 Patch
- https://git.kernel.org/stable/c/3ec437f9bbae68e9b38115c4c91de995f73f6bad Patch
- https://git.kernel.org/stable/c/8bad3a20a27be8d935f2aae08d3c6e743754944a Patch
- https://git.kernel.org/stable/c/965d940fb7414b310a22666503d2af69459c981b Patch
- https://git.kernel.org/stable/c/eef95df9b752699bddecefa851f64858247246e9 Patch