CVE-2025-39822

Source
https://cve.org/CVERecord?id=CVE-2025-39822
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-39822.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-39822
Downstream
Related
Published
2025-09-16T13:00:21.533Z
Modified
2026-03-12T02:19:48.923900Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
io_uring/kbuf: fix signedness in this_len calculation
Details

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

iouring/kbuf: fix signedness in thislen calculation

When importing and using buffers, buf->len is considered unsigned. However, buf->len is converted to signed int when committing. This can lead to unexpected behavior if the buffer is large enough to be interpreted as a negative value. Make min_t calculation unsigned.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39822.json",
    "cna_assigner": "Linux"
}
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
cf9536e550dd243a1681fdbf804221527da20a80
Fixed
f4f411c068402c370c4f9a9d4950a97af97bbbb1
Fixed
c64eff368ac676e8540344d27a3de47e0ad90d21

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-39822.json"