ax25: Fix reference count leak issue of net_device
Published Jun 19, 2024
5.5
MEDIUMCVSS 3.1
EPSS 0.24%
Description
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 products
-
Affected
- ≥ 4.14.277, < 4.15
- ≥ 4.19.240, < 4.20
- ≥ 5.10.112, < 5.11
- ≥ 5.15.35, < 5.16
- ≥ 5.4.190, < 5.5
-
Affected
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
-
Affected
- 5.17
Unaffected
- ≥ 0, < 5.17
- ≥ 6.1.93, ≤ 6.1.*
- 6.10
- ≥ 6.6.33, ≤ 6.6.*
- ≥ 6.8.12, ≤ 6.8.*
- ≥ 6.9.3, ≤ 6.9.*
Default status is the baseline for the product. Each version can override it (patched versions can be marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Linux | Linux | unaffected | Affected
|
| Linux | Linux | unaffected | Affected
|
| Linux | Linux | affected | Affected
Unaffected
|
- ≥ 5.17 · < 6.1.93
- ≥ 6.2 · < 6.6.33
- ≥ 6.7 · < 6.8.12
- ≥ 6.9 · < 6.9.3
No data.
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (11)
- https://access.redhat.com/security/cve/CVE-2024-38554 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2293445 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-37417 Advisory
- 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://lore.kernel.org/linux-cve-announce/2024061952-CVE-2024-38554-29b0@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2024-38554
- https://www.cve.org/CVERecord?id=CVE-2024-38554
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
GitHub
No data