VDB

CVE-2024-38554

CVE-2024-38554 PUBLISHED

ax25: Fix reference count leak issue of net_device

Reported by linux · Published June 19, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-modules-extra-commonAmazon Linux6.1.94-99.176.amzn2023
kernel-libbpf-staticAmazon Linux6.1.94-99.176.amzn2023
kernel-libbpfAmazon Linux6.1.94-99.176.amzn2023
linux_kernellinux6.9.3, 6.8.12, 6.6.33, 6.1.93

Affected products

VendorProductVersions
LinuxLinuxd01ffb9eee4af165d83b08dd73ebdf9fe94a519b, d01ffb9eee4af165d83b08dd73ebdf9fe94a519b, d01ffb9eee4af165d83b08dd73ebdf9fe94a519b
LinuxLinux5.17, 0, 6.1.93
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-libbpf0
linuxlinux_kernel5.15.35, 5.10.112, 5.17
amazon:2023kernel-devel0
amazon:2023perf0
amazon:2023kernel-modules-extra0
amazon:2023python3-perf0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-tools-devel0
amazon:2023bpftool0
amazon:2023kernel0
amazon:2023kernel-livepatch-6.1.94-99.1760
amazon:2023kernel-headers0
LinuxLinux6.1.93, 6.6.33, 6.8.12
amazon:2023kernel-tools0

Timeline

  • Jun 19, 2024 CVE Published
  • Jun 20, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (16 in total, the first dated here)
  • Jan 8, 2026 Security Advisory (308 in total, the first dated here)
  • Mar 31, 2026 Distribution Patch (231 in total, the first dated here)
  • Nov 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-38554
vulnetix vdb fixes CVE-2024-38554

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-38554/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›