Bluetooth: RFCOMM: Fix not validating setsockopt user input (Linux Linux)

CVE-2024-35966
HIGH 7.1

En bref

Source
NVD
EPSS
EPSS 0.26 % · centile 18 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: RFCOMM: Fix not validating setsockopt user input syzbot reported rfcomm_sock_setsockopt_old() is copying data without checking user input length. BUG: KASAN: slab-out-of-bounds in copy_from_sockptr_offset include/linux/sockptr.h:49 [inline] BUG: KASAN: slab-out-of-bounds in copy_from_sockptr include/linux/sockptr.h:55 [inline] BUG: KASAN: slab-out-of-bounds in rfcomm_sock_setsockopt_old net/bluetooth/rfcomm/sock.c:632 [inline] BUG: KASAN: slab-out-of-bounds in rfcomm_sock_setsockopt+0x893/0xa70 net/bluetooth/rfcomm/sock.c:673 Read of size 4 at addr ffff8880209a8bc3 by task syz-executor632/5064

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected bb23c0ab824653be4aa7dfca15b07b3059717004 < d072ea24748189cd8f4a9c3f585ca9af073a0838 ; affected bb23c0ab824653be4aa7dfca15b07b3059717004 < 00767fbd67af70d7a550caa5b12d9515fa978bab ; affected bb23c0ab824653be4aa7dfca15b07b3059717004 < eea40d33bf936a5c7fb03c190e61e0cfee00e872 ; affected bb23c0ab824653be4aa7dfca15b07b3059717004 < 4ea65e2095e9bd151d0469328dd7fc2858feb546 ; affected bb23c0ab824653be4aa7dfca15b07b3059717004 < c3f787a3eafe519c93df9abbb0ca5145861c8d0f ; affected bb23c0ab824653be4aa7dfca15b07b3059717004 < a97de7bff13b1cc825c1b1344eaed8d6c2d3e695
Linux · Linuxaffected 2.6.30 ; unaffected 0 < 2.6.30 ; unaffected 5.10.234 ≤ 5.10.* ; unaffected 5.15.178 ≤ 5.15.* ; unaffected 6.1.107 ≤ 6.1.* ; unaffected 6.6.47 ≤ 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