FKIE_CVE-2026-99353
Vulnerability from fkie_nvd - Published: 2026-11-19 15:17 - Updated: 2026-11-19 15:17
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved:
SUNRPC: Reject a socket that already has an svc_sock attached
Writing the same socket descriptor to /proc/fs/nfsd/portlist twice
attaches a second svc_sock to one socket. svc_setup_socket() saves
the socket's callbacks before installing its own, so the second
attach records svc_write_space() as the old write_space callback.
svc_udp_init() invokes that callback by way of svc_sock_setbufsize(),
and svc_write_space() then calls itself until the kernel stack is
exhausted:
BUG: TASK stack guard page was hit at ffffc900037d7ff8
svc_write_space+0x90/0x2b0 net/sunrpc/svcsock.c:429
svc_write_space+0xe6/0x2b0 net/sunrpc/svcsock.c:430
... 700 more ...
svc_sock_setbufsize+0x18d/0x220 net/sunrpc/svcsock.c:386
svc_udp_init net/sunrpc/svcsock.c:854 [inline]
svc_setup_socket+0xb2f/0x1090 net/sunrpc/svcsock.c:1498
svc_addsock+0x2fd/0x760 net/sunrpc/svcsock.c:1547
__write_ports_addfd fs/nfsd/nfsctl.c:742 [inline]
write_ports+0xa5b/0xcc0 fs/nfsd/nfsctl.c:861
nfsctl_transaction_write+0x106/0x1a0 fs/nfsd/nfsctl.c:112
svc_data_ready() and svc_tcp_state_change() chain through their saved
callbacks the same way, so a TCP descriptor added twice recurses on
the next incoming segment instead. Reaching any of this takes a
writer on portlist, and the nfsd filesystem sets no FS_USERNS_MOUNT,
so the reproducer needs CAP_SYS_ADMIN in the initial user namespace.
Reject a socket that already carries sk_user_data. svc_setup_socket()
overwrites that field unconditionally, so a socket some other
consumer has claimed is one NFSD would corrupt whether or not the
callbacks recurse.
References
Impacted products
| Vendor | Product | Version |
|---|
{
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"net/sunrpc/svcsock.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "514ce838b4f26780fa31da7d7f1e30d696ea6a9e",
"status": "affected",
"version": "b41b66d63c730cc45a1024e1f1e67439e507e40f",
"versionType": "git"
},
{
"lessThan": "f44daa50489fede01012c575d9f5e7b11a212fe4",
"status": "affected",
"version": "b41b66d63c730cc45a1024e1f1e67439e507e40f",
"versionType": "git"
},
{
"lessThan": "42923e0fc817a7e78d1a5e7cb82966d27919e332",
"status": "affected",
"version": "b41b66d63c730cc45a1024e1f1e67439e507e40f",
"versionType": "git"
},
{
"lessThan": "0995447b8059c4d23853cdcddbe789c4a2b6bb88",
"status": "affected",
"version": "b41b66d63c730cc45a1024e1f1e67439e507e40f",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"net/sunrpc/svcsock.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "2.6.19"
},
{
"lessThan": "2.6.19",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.117",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.61",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nSUNRPC: Reject a socket that already has an svc_sock attached\n\nWriting the same socket descriptor to /proc/fs/nfsd/portlist twice\nattaches a second svc_sock to one socket. svc_setup_socket() saves\nthe socket\u0027s callbacks before installing its own, so the second\nattach records svc_write_space() as the old write_space callback.\nsvc_udp_init() invokes that callback by way of svc_sock_setbufsize(),\nand svc_write_space() then calls itself until the kernel stack is\nexhausted:\n\n BUG: TASK stack guard page was hit at ffffc900037d7ff8\n svc_write_space+0x90/0x2b0 net/sunrpc/svcsock.c:429\n svc_write_space+0xe6/0x2b0 net/sunrpc/svcsock.c:430\n ... 700 more ...\n svc_sock_setbufsize+0x18d/0x220 net/sunrpc/svcsock.c:386\n svc_udp_init net/sunrpc/svcsock.c:854 [inline]\n svc_setup_socket+0xb2f/0x1090 net/sunrpc/svcsock.c:1498\n svc_addsock+0x2fd/0x760 net/sunrpc/svcsock.c:1547\n __write_ports_addfd fs/nfsd/nfsctl.c:742 [inline]\n write_ports+0xa5b/0xcc0 fs/nfsd/nfsctl.c:861\n nfsctl_transaction_write+0x106/0x1a0 fs/nfsd/nfsctl.c:112\n\nsvc_data_ready() and svc_tcp_state_change() chain through their saved\ncallbacks the same way, so a TCP descriptor added twice recurses on\nthe next incoming segment instead. Reaching any of this takes a\nwriter on portlist, and the nfsd filesystem sets no FS_USERNS_MOUNT,\nso the reproducer needs CAP_SYS_ADMIN in the initial user namespace.\n\nReject a socket that already carries sk_user_data. svc_setup_socket()\noverwrites that field unconditionally, so a socket some other\nconsumer has claimed is one NFSD would corrupt whether or not the\ncallbacks recurse."
}
],
"id": "CVE-2026-99353",
"lastModified": "2026-11-19T15:17:46.690",
"metrics": {},
"published": "2026-11-19T15:17:46.690",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/0995447b8059c4d23853cdcddbe789c4a2b6bb88"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/42923e0fc817a7e78d1a5e7cb82966d27919e332"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/514ce838b4f26780fa31da7d7f1e30d696ea6a9e"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/f44daa50489fede01012c575d9f5e7b11a212fe4"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…