CVE-2026-23098
JSON

8.8high

netrom: fix double-free in nr_route_frame()

Severity
8.8high CVSS:3.1 by Linux
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: netrom: fix double-free in nr_route_frame() In nr_route_frame(), old_skb is immediately freed without checking if nr_neigh->ax25 pointer is NULL. Therefore, if nr_neigh->ax25 is NULL, the caller function will free old_skb again, causing a double-free bug. Therefore, to prevent this, we need to modify it to check whether nr_neigh->ax25 is NULL before freeing old_skb.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 25aab6bfc31017a7e52035b99aef5c2b6bde8ffb, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 6e0110ea90313b7c0558a0b77038274a6821caf8, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7c48fdf2d1349bb54815b56fb012b9d577707708, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before bd8955337e3764f912f49b360e176d8aaecf7016, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 94d1a8bd08af1f4cc345c5c29f5db1ea72b8bb8c, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 9f5fa78d9980fe75a69835521627ab7943cb3d67, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before ba1096c315283ee3292765f6aea4cca15816c4f7, 2.6.12
Not affected: before 2.6.12, from 5.10.249 up to 5.10.*, from 5.15.199 up to 5.15.*, from 6.1.162 up to 6.1.*, from 6.6.122 up to 6.6.*, from 6.12.68 up to 6.12.*
CVE List
linux linux_kernelfrom 2.6.12.1 before 5.10.249, from 5.11 before 5.15.199, from 5.16 before 6.1.162, from 6.2 before 6.6.122, from 6.7 before 6.12.68, from 6.13 before 6.18.8, 2.6.12, 6.19NVD

All scores

Linux8.8high CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: netrom: fix double-free in nr_route_frame() In nr_route_frame(), old_skb is immediately freed without checking if nr_neigh->ax25 pointer is NULL. Therefore, if nr_neigh->ax25 is NULL, the caller function will free old_skb again, causing a double-free bug. Therefore, to prevent this, we need to modify it to check whether nr_neigh->ax25 is NULL before freeing old_skb.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: netrom: soluciona doble liberación en nr_route_frame() En nr_route_frame(), old_skb es liberado inmediatamente sin comprobar si el puntero nr_neigh->ax25 es NULL. Por lo tanto, si nr_neigh->ax25 es NULL, la función llamadora liberará old_skb de nuevo, causando un error de doble liberación. Por lo tanto, para evitar esto, necesitamos modificarlo para comprobar si nr_neigh->ax25 es NULL antes de liberar old_skb.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-23098 changed 2026-08-05CVE Terms of Use
NVDCVE-2026-23098 changed 2026-06-17Public domain