io_uring/waitid: clear waitid info before copying it to userspace
In the Linux kernel, the following vulnerability has been resolved: io_uring/waitid: clear waitid info before copying it to userspace IORING_OP_WAITID stores its result fields in struct io_waitid::info and later copies them to userspace siginfo. The prep path initializes the request arguments, but it does not initialize info itself. If the wait operation completes without reporting a child event, the common wait code can return without writing wo_info. In that case io_waitid_finish() still copies iw->info to userspace, exposing stale bytes from the reused io_kiocb command storage. Clear the result storage during prep so the io_uring path matches the regular waitid syscall, which uses a zero-initialized struct waitid_info.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.92, 6.18.34, 7.0.11
- CVEs
- CVE-2026-46315
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 19:47 UTC · Revision 1
Source evidence
io_uring/waitid: clear waitid info before copying it to userspace
core-osv · Original sourcePublished 9 Jun 2026, 07:38 UTC
In the Linux kernel, the following vulnerability has been resolved: io_uring/waitid: clear waitid info before copying it to userspace IORING_OP_WAITID stores its result fields in struct io_waitid::info and later copies them to userspace siginfo. The prep path initializes the request arguments, but it does not initialize info itself. If the wait operation completes without reporting a child event, the common wait code can return without writing wo_info. In that case io_waitid_finish() still copies iw->info to userspace, exposing stale bytes from the reused io_kiocb command storage. Clear the result storage during prep so the io_uring path matches the regular waitid syscall, which uses a zero-initialized struct waitid_info.
osv:CVE-2026-46315
Kernel
Fixed versions: 6.12.92, 6.18.34, 7.0.11
Complete source record
{
"id": "17f11c8dff947654311385f9b6a13a9ff6e68a00418401f74936603e2b025f07",
"url": "https://osv.dev/vulnerability/CVE-2026-46315",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "io_uring/waitid: clear waitid info before copying it to userspace",
"summary": "In the Linux kernel, the following vulnerability has been resolved: io_uring/waitid: clear waitid info before copying it to userspace IORING_OP_WAITID stores its result fields in struct io_waitid::info and later copies them to userspace siginfo. The prep path initializes the request arguments, but it does not initialize info itself. If the wait operation completes without reporting a child event, the common wait code can return without writing wo_info. In that case io_waitid_finish() still copies iw->info to userspace, exposing stale bytes from the reused io_kiocb command storage. Clear the result storage during prep so the io_uring path matches the regular waitid syscall, which uses a zero-initialized struct waitid_info.",
"evidence": "osv:CVE-2026-46315",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.92",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.34",
"evidence": "/affected/1/ranges"
},
{
"value": "7.0.11",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-46315",
"aliases": [
"CVE-2026-46315"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "f31ecf671ddc498f20219453395794ff2383e06b"
},
{
"fixed": "954518e5a4a5efc5033253f6e36fc7b9f98363a3"
},
{
"fixed": "b737c6612c60c23b40a9f31749b99e6f61943847"
},
{
"fixed": "4d2a0de611ab60d02fc768ae0cd5918b16bd5474"
},
{
"fixed": "93d93f5f8da791e98159795c6ef683f45bd95d13"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46315.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.92"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.34"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.0.11"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46315.json"
}
}
],
"modified": "2026-10-28T02:30:23.385160361Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/4d2a0de611ab60d02fc768ae0cd5918b16bd5474",
"https://git.kernel.org/stable/c/93d93f5f8da791e98159795c6ef683f45bd95d13",
"https://git.kernel.org/stable/c/954518e5a4a5efc5033253f6e36fc7b9f98363a3",
"https://git.kernel.org/stable/c/b737c6612c60c23b40a9f31749b99e6f61943847",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46315.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-46315",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46315.json"
}
},
"related_cves": [
{
"value": "CVE-2026-46315",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 489377,
"published_at": "2026-06-09T07:38:13.713+00:00"
}