{"id":"CVE-2026-99528","aliases":[],"cve":{"records":[{"id":"CVE-2026-99528","source":"Linux","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-09-25T10:25:14.420Z","published":"2026-11-19T14:44:39.856Z","modified":"2026-11-22T11:08:47.213Z"}],"publishers":[{"name":"Linux","role":"CNA","organizationId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","modified":"2026-11-22T11:08:47.213Z"}],"references":[{"url":"https://git.kernel.org/stable/c/0a908446c5edc42905f9136e91bbf4e45d0747b6","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/3c3b401650227e147c609c33fa458d5d963f2918","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/75120454474be7bc62b77af12bd591a339be27e1","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/e7a8721b7edb54a157623f9e31d71345333b5fb9","tags":[],"source":"Linux"}],"weaknesses":[],"applicability":[{"source":"Linux","statements":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.10","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.10","versionEndExcluding":"6.18.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.10","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.10","versionEndExcluding":"7.4-rc1"}]}]}]}],"prioritization":[]},"title":"SUNRPC: fix netns use-after-free in write_gssp()","titleSource":"Linux","descriptionSource":"Linux","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nSUNRPC: fix netns use-after-free in write_gssp()\n\nWhile fuzzing with a customized syzkaller, I hit a refcount warning in\nxprt_alloc(), reached from a write to /proc/net/rpc/use-gss-proxy:\n\n  refcount_t: addition on 0; use-after-free.\n  WARNING: lib/refcount.c:25 at refcount_warn_saturate+0xf8/0x120\n  CPU: 0 PID: 10404 Comm: syz.0.17 Not tainted 7.3.0-rc1-00096-gcfebfd3db73d\n  Call Trace:\n   <TASK>\n   xprt_alloc+0x83f/0x9d0\n   xs_setup_xprt+0xaf/0x3c0\n   xs_setup_local+0x47/0x7f0\n   xprt_create_transport+0x16c/0x730\n   rpc_create+0x38e/0x7f0\n   gssp_rpc_create+0xe2/0x180\n   set_gssp_clnt+0xba/0x1b0\n   write_gssp+0x200/0x310\n   proc_reg_write+0x240/0x330\n   vfs_write+0x2aa/0x1050\n   ksys_write+0x12a/0x250\n   do_syscall_64+0x117/0x750\n   entry_SYSCALL_64_after_hwframe+0x77/0x7f\n   </TASK>\n\ncreate_use_gss_proxy_proc_entry() stores the struct net pointer as the\nproc entry's private data without taking a reference on it, and an open\nfile descriptor does not pin the namespace either, as procfs only pins\nthe proc_dir_entry. write_gssp() reads that pointer back with\npde_data() and hands it to set_gssp_clnt(), which reaches xprt_init():\n\n\txprt->xprt_net = get_net_track(net, &xprt->ns_tracker, GFP_KERNEL);\n\nget_net_track() -> get_net() -> refcount_inc() is unconditional, so\nrpc_create() assumes its caller holds a reference on args.net.\nwrite_gssp() does not.\n\nDropping the last ns.count reference does not make the file go away.\n__put_net() only queues cleanup_net() on a workqueue, and the\nremove_proc_entry() that fences off further writes runs from the\nrpcsec_gss pernet .exit method, that is, from inside cleanup_net(). A\nwrite landing between those two points increments a refcount that is\nalready zero. cleanup_net() does not re-read ns.count, so the namespace\nis freed anyway and the rpc_xprt -- along with the AF_LOCAL socket\nopened for it -- is left pointing at freed memory. The resurrected\ncount is visible to the rest of that teardown too: with\nCONFIG_IPV6_MROUTE the same cleanup_net() worker then trips\n!mr_can_free_table() in ip6mr_free_table(), which tests check_net() on\nthe namespace it is freeing.\n\nIt reduces to opening /proc/net/rpc/use-gss-proxy inside a new network\nnamespace, calling setns() back to the original one to drop the last\nreference, and then writing \"1\" to the still-open descriptor.\n\nTake the reference in write_gssp() itself and refuse the write when the\nnamespace is already gone. This is what procfs does for every other\n/proc/net file: get_proc_net() is maybe_get_net(PDE_NET(PDE(inode)))\nand seq_open_net() returns -ENXIO when it fails. PDE_NET() cannot be\nreused here because the parent directory /proc/net/rpc carries no\nnamespace pointer. Adding a .pre_exit to rpcsec_gss_net_ops so the\nentry is removed earlier would only narrow the window, since pre_exit\nalso runs from cleanup_net().\n\nLive namespaces are unaffected: a write still returns the error from\nset_gssp_clnt(), a write of \"2\" still returns -EINVAL, and reads are\nuntouched.","score":7.8,"severity":"high","published":"2026-11-19T14:44:39.856Z","modified":"2026-11-22T11:08:47.213Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"030d794bf49855f5e2a9e8dfbfad34211d1eb08b","status":"affected","lessThan":"0a908446c5edc42905f9136e91bbf4e45d0747b6","versionType":"git"},{"version":"030d794bf49855f5e2a9e8dfbfad34211d1eb08b","status":"affected","lessThan":"3c3b401650227e147c609c33fa458d5d963f2918","versionType":"git"},{"version":"030d794bf49855f5e2a9e8dfbfad34211d1eb08b","status":"affected","lessThan":"75120454474be7bc62b77af12bd591a339be27e1","versionType":"git"},{"version":"030d794bf49855f5e2a9e8dfbfad34211d1eb08b","status":"affected","lessThan":"e7a8721b7edb54a157623f9e31d71345333b5fb9","versionType":"git"}],"defaultStatus":"unaffected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99528"},{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"3.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.10","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.61","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"defaultStatus":"affected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99528"}],"remediation":[],"references":["https://git.kernel.org/stable/c/0a908446c5edc42905f9136e91bbf4e45d0747b6","https://git.kernel.org/stable/c/3c3b401650227e147c609c33fa458d5d963f2918","https://git.kernel.org/stable/c/75120454474be7bc62b77af12bd591a339be27e1","https://git.kernel.org/stable/c/e7a8721b7edb54a157623f9e31d71345333b5fb9"],"sources":[{"name":"CVE","id":"CVE-2026-99528","modified":"2026-11-22T11:08:47.213Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99528"}],"assessments":[{"source":"Linux","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8}],"sourceAffected":[],"observedAt":"2026-11-22T11:22:01.558Z","kev":{"status":"not-listed","checkedAt":"2026-11-22T12:25:32.613Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-22T02:15:32.784Z","attemptedAt":"2026-11-22T02:15:32.784Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-22T02:00:30.613Z","attemptedAt":"2026-11-22T02:00:30.613Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-22T01:30:37.716Z","attemptedAt":"2026-11-22T01:30:37.716Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-22T01:05:32.709Z","attemptedAt":"2026-11-22T01:05:32.709Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-99528","url":"https://www.first.org/epss/","probability":0.00174,"percentile":0.06937,"date":"2026-11-21","checkedAt":"2026-11-22T01:05:32.709Z"},{"source":"ENISA EUVD","id":"EUVD-2026-130251","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-130251","modified":"Nov 19, 2026, 2:44:39 PM","checkedAt":"2026-11-22T01:30:37.716Z"},{"source":"GitHub Advisory Database","id":"GHSA-hv78-pcw8-89vv","url":"https://github.com/advisories/GHSA-hv78-pcw8-89vv","modified":"2026-11-19T15:31:29Z","checkedAt":"2026-11-22T02:00:30.613Z"},{"source":"NVD","id":"CVE-2026-99528","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99528","modified":"2026-11-19T15:18:08.517","checkedAt":"2026-11-22T02:15:32.784Z"}],"aiSummary":{"text":"The Linux kernel has a use-after-free vulnerability in SUNRPC, affecting versions 3.10 to 7.3.2, 6.12.117, and 6.18.61. An attacker with access to a network namespace can cause a refcount warning and potentially free memory.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-19T16:01:15.641Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-99528"}]}}