Back

MEDIUM

ax25: Fix reference count leak issue of net_device

Published Jun 19, 2024

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

Remediation

No remediation recorded yet.

Weaknesses (1)

References (11)

Change history (0)

No recorded changes yet.

Sources

CVE.org / MITRE

Status PUBLISHED
Assigner Linux
Published Jun 19, 2024
Updated May 23, 2026
Reserved Jun 18, 2024

CISA Vulnrichment

Updated Sep 10, 2024

NVD

Status Modified
Modified Jun 17, 2026

Red Hat

Severity Low
Public date Jun 19, 2024
Bugzilla 2293445

ENISA EUVD

Assigner Linux
Published Jun 19, 2024
Updated May 23, 2026

GitHub

No data