llc: fix skb UAF and leaks on llc_mac_hdr_init() failure (Linux Linux)

CVE-2026-98555
HIGH 7.5

En bref

Source
NVD
EPSS
EPSS 0.31 % · centile 24 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: llc: fix skb UAF and leaks on llc_mac_hdr_init() failure In llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr(), if llc_mac_hdr_init() fails, kfree_skb(skb) is called instead of kfree_skb(nskb). This leaks the newly allocated nskb, reads from the freed skb via LLC_I_GET_NR(pdu), and double-frees skb when llc_conn_state_process() drops its reference. In llc_sap_action_send_xid_r() and llc_sap_action_send_test_r(), nskb is leaked if llc_mac_hdr_init() returns an error. Free nskb in all three error paths.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.5CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < fec0fe6838a7f45175667701fb51abb23a6ffb1e ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < b859ba18b5a1067f71db5618c6a4a70d55fa308b ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 8b855b645841b5a04e20339a22bb6d593c9b790d ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < d360b31f1a3666579422872aa7d1a751e20b76f9 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 060f827aa3dc47939ee306da715cd6700d129616 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 41dcae82bece9f106b4dff0ee777bba8d157c8a8
Linux · Linuxaffected 2.6.12 ; unaffected 0 < 2.6.12 ; unaffected 5.10.271 ≤ 5.10.* ; unaffected 5.15.222 ≤ 5.15.* ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 6.6.*

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