ax25: properly unshare skbs in ax25_kiss_rcv() (Linux Linux)

CVE-2025-39848
HIGH 8.8

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 15 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: ax25: properly unshare skbs in ax25_kiss_rcv() Bernard Pidoux reported a regression apparently caused by commit c353e8983e0d ("net: introduce per netns packet chains"). skb->dev becomes NULL and we crash in __netif_receive_skb_core(). Before above commit, different kind of bugs or corruptions could happen without a major crash. But the root cause is that ax25_kiss_rcv() can queue/mangle input skb without checking if this skb is shared or not. Many thanks to Bernard Pidoux for his help, diagnosis and tests. We had a similar issue years ago fixed with commit 7aaed57c5c28 ("phonet: properly unshare skbs in phonet_rcv()").

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.8CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.8CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 42b46684e2c78ee052d8c2ee8d9c2089233c9094 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 5b079be1b9da49ad88fc304c874d4be7085f7883 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 2bd0f67212908243ce88e35bf69fa77155b47b14 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 01a2984cb803f2d487b7074f9718db2bf3531f69 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 7d449b7a6c8ee434d10a483feed7c5c50108cf56 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 89064cf534bea4bb28c83fe6bbb26657b19dd5fe
Linux · Linuxaffected 2.6.12 ; unaffected 0 < 2.6.12 ; unaffected 5.4.299 ≤ 5.4.* ; unaffected 5.10.243 ≤ 5.10.* ; unaffected 5.15.192 ≤ 5.15.* ; unaffected 6.1.151 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD