bpf: drop unnecessary user-triggerable WARN_ONCE in verifierl log (Linux Linux)

CVE-2023-54145
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.20 % · centile 9 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: drop unnecessary user-triggerable WARN_ONCE in verifierl log It's trivial for user to trigger "verifier log line truncated" warning, as verifier has a fixed-sized buffer of 1024 bytes (as of now), and there are at least two pieces of user-provided information that can be output through this buffer, and both can be arbitrarily sized by user: - BTF names; - BTF.ext source code lines strings. Verifier log buffer should be properly sized for typical verifier state output. But it's sort-of expected that this buffer won't be long enough in some circumstances. So let's drop the check. In any case code will work correctly, at worst truncating a part of a single line output.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected a2a7d5701052542cd2260e7659b12443e0a74733 < 40c88c429a598006f91ad7a2b89856cd50b3a008 ; affected a2a7d5701052542cd2260e7659b12443e0a74733 < 926a175026fed5d534f587ea4ec3ec49265cd3c5 ; affected a2a7d5701052542cd2260e7659b12443e0a74733 < cff36398bd4c7d322d424433db437f3c3391c491
Linux · Linuxaffected 4.15 ; unaffected 0 < 4.15 ; unaffected 6.1.107 ≤ 6.1.* ; unaffected 6.4.7 ≤ 6.4.* ; unaffected 6.5 ≤ *

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