cveboard RSS feed

CVE-2024-27050

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2024
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

libbpf: Use OPTS_SET() macro in bpf_xdp_query()

In the Linux kernel, the following vulnerability has been resolved: libbpf: Use OPTS_SET() macro in bpf_xdp_query() When the feature_flags and xdp_zc_max_segs fields were added to the libbpf bpf_xdp_query_opts, the code writing them did not use the OPTS_SET() macro. This causes libbpf to write to those fields unconditionally, which means that programs compiled against an older version of libbpf (with a smaller size of the bpf_xdp_query_opts struct) will have its stack corrupted by libbpf writing out of bounds. The patch adding the feature_flags field has an early bail out if the feature_flags field is not part of the opts struct (via the OPTS_HAS) macro, but the patch adding xdp_zc_max_segs does not. For consistency, this fix just changes the assignments to both fields to use the OPTS_SET() macro.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
13ce2daa259a3bfbc9a5aeeee8b9a87058703731affectedgitfa5bef5e80c6a3321b2b1a7070436f3bc5daf07cUnavailableNone listed
13ce2daa259a3bfbc9a5aeeee8b9a87058703731affectedgit682ddd62abd4bdcee7584246903e7a2df005fe0dUnavailableNone listed
13ce2daa259a3bfbc9a5aeeee8b9a87058703731affectedgitcd3be9843247edb8fc6fcd8d8237cbce2bc19f5eUnavailableNone listed
13ce2daa259a3bfbc9a5aeeee8b9a87058703731affectedgit92a871ab9fa59a74d013bc04f321026a057618e7UnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
6.6affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver6.6UnavailableNone listed
6.6.23unaffectedsemverUnavailable6.6.*None listed
6.7.11unaffectedsemverUnavailable6.7.*None listed
6.8.2unaffectedsemverUnavailable6.8.*None listed
6.9unaffectedoriginal_commit_for_fixUnavailable*None listed