CVE-2024-38566

bpf: Fix verifier assumptions about socket->sk

MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 13 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix verifier assumptions about socket->sk The verifier assumes that 'sk' field in 'struct socket' is valid and non-NULL when 'socket' pointer itself is trusted and non-NULL. That may not be the case when socket was just created and passed to LSM socket_accept hook. Fix this verifier assumption and adjust tests.

Références

Scores

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

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 6fcd486b3a0a628c41f12b3a7329a18a2c74b351 < 39f8a29330f433000e716eefc4b9abda05b71a82 ; affected 6fcd486b3a0a628c41f12b3a7329a18a2c74b351 < 6f5ae91172a93abac9720ba94edf3ec8f4d7f24f ; affected 6fcd486b3a0a628c41f12b3a7329a18a2c74b351 < c58ccdd2483a1d990748cdaf94206b5d5986a001 ; affected 6fcd486b3a0a628c41f12b3a7329a18a2c74b351 < 0db63c0b86e981a1e97d2596d64ceceba1a5470e
Linux · Linuxaffected 6.4 ; unaffected 0 < 6.4 ; unaffected 6.6.33 ≤ 6.6.* ; unaffected 6.8.12 ≤ 6.8.* ; unaffected 6.9.3 ≤ 6.9.* ; unaffected 6.10 ≤ *

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