CVE-2024-36934

Source
https://cve.org/CVERecord?id=CVE-2024-36934
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-36934.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-36934
Downstream
Related
Published
2024-05-30T15:29:24.357Z
Modified
2026-03-14T12:34:16.074325Z
Summary
bna: ensure the copied buf is NUL terminated
Details

In the Linux kernel, the following vulnerability has been resolved:

bna: ensure the copied buf is NUL terminated

Currently, we allocate a nbytes-sized kernel buffer and copy nbytes from userspace to that buffer. Later, we use sscanf on this buffer but we don't ensure that the string is terminated inside the buffer, this can lead to OOB read when using sscanf. Fix this issue by using memdupusernul instead of memdup_user.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36934.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7afc5dbde09104b023ce04465ba71aaba0fc4346
Fixed
bd502ba81cd1d515deddad7dbc6b812b14b97147
Fixed
80578ec10335bc15ac35fd1703c22aab34e39fdd
Fixed
6f0f19b79c085cc891c418b768f26f7004bd51a4
Fixed
0f560240b4cc25d3de527deb257cdf072c0102a9
Fixed
06cb37e2ba6441888f24566a997481d4197b4e32
Fixed
e19478763154674c084defc62ae0d64d79657f91
Fixed
1518b2b498a0109eb6b15755169d3b6607356b35
Fixed
8c34096c7fdf272fd4c0c37fe411cd2e3ed0ee9f

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-36934.json"