CVE-2026-99528 (GCVE-0-2026-99528)

Vulnerability from cvelistv5 – Published: 2026-11-19 14:44 – Updated: 2026-11-23 08:03
VLAI
Title
SUNRPC: fix netns use-after-free in write_gssp()
Summary
In the Linux kernel, the following vulnerability has been resolved: SUNRPC: fix netns use-after-free in write_gssp() While fuzzing with a customized syzkaller, I hit a refcount warning in xprt_alloc(), reached from a write to /proc/net/rpc/use-gss-proxy: refcount_t: addition on 0; use-after-free. WARNING: lib/refcount.c:25 at refcount_warn_saturate+0xf8/0x120 CPU: 0 PID: 10404 Comm: syz.0.17 Not tainted 7.3.0-rc1-00096-gcfebfd3db73d Call Trace: <TASK> xprt_alloc+0x83f/0x9d0 xs_setup_xprt+0xaf/0x3c0 xs_setup_local+0x47/0x7f0 xprt_create_transport+0x16c/0x730 rpc_create+0x38e/0x7f0 gssp_rpc_create+0xe2/0x180 set_gssp_clnt+0xba/0x1b0 write_gssp+0x200/0x310 proc_reg_write+0x240/0x330 vfs_write+0x2aa/0x1050 ksys_write+0x12a/0x250 do_syscall_64+0x117/0x750 entry_SYSCALL_64_after_hwframe+0x77/0x7f </TASK> create_use_gss_proxy_proc_entry() stores the struct net pointer as the proc entry's private data without taking a reference on it, and an open file descriptor does not pin the namespace either, as procfs only pins the proc_dir_entry. write_gssp() reads that pointer back with pde_data() and hands it to set_gssp_clnt(), which reaches xprt_init(): xprt->xprt_net = get_net_track(net, &xprt->ns_tracker, GFP_KERNEL); get_net_track() -> get_net() -> refcount_inc() is unconditional, so rpc_create() assumes its caller holds a reference on args.net. write_gssp() does not. Dropping the last ns.count reference does not make the file go away. __put_net() only queues cleanup_net() on a workqueue, and the remove_proc_entry() that fences off further writes runs from the rpcsec_gss pernet .exit method, that is, from inside cleanup_net(). A write landing between those two points increments a refcount that is already zero. cleanup_net() does not re-read ns.count, so the namespace is freed anyway and the rpc_xprt -- along with the AF_LOCAL socket opened for it -- is left pointing at freed memory. The resurrected count is visible to the rest of that teardown too: with CONFIG_IPV6_MROUTE the same cleanup_net() worker then trips !mr_can_free_table() in ip6mr_free_table(), which tests check_net() on the namespace it is freeing. It reduces to opening /proc/net/rpc/use-gss-proxy inside a new network namespace, calling setns() back to the original one to drop the last reference, and then writing "1" to the still-open descriptor. Take the reference in write_gssp() itself and refuse the write when the namespace is already gone. This is what procfs does for every other /proc/net file: get_proc_net() is maybe_get_net(PDE_NET(PDE(inode))) and seq_open_net() returns -ENXIO when it fails. PDE_NET() cannot be reused here because the parent directory /proc/net/rpc carries no namespace pointer. Adding a .pre_exit to rpcsec_gss_net_ops so the entry is removed earlier would only narrow the window, since pre_exit also runs from cleanup_net(). Live namespaces are unaffected: a write still returns the error from set_gssp_clnt(), a write of "2" still returns -EINVAL, and reads are untouched.
Impacted products
Vendor Product Version
Linux Linux Affected: 030d794bf49855f5e2a9e8dfbfad34211d1eb08b , < f7f78a8f19c86ed9fcdf60b245bf4b96c93543db (git)
Affected: 030d794bf49855f5e2a9e8dfbfad34211d1eb08b , < 49e2bc27ff9f6cd3843828a9f469a2e1af69a0cb (git)
Affected: 030d794bf49855f5e2a9e8dfbfad34211d1eb08b , < ff077f38c886616e4fc8e888f1212b9121bda81a (git)
Affected: 030d794bf49855f5e2a9e8dfbfad34211d1eb08b , < c538969194c2a47132fe1f96ba40f85e159d4f38 (git)
Affected: 030d794bf49855f5e2a9e8dfbfad34211d1eb08b , < 0a908446c5edc42905f9136e91bbf4e45d0747b6 (git)
Affected: 030d794bf49855f5e2a9e8dfbfad34211d1eb08b , < 3c3b401650227e147c609c33fa458d5d963f2918 (git)
Affected: 030d794bf49855f5e2a9e8dfbfad34211d1eb08b , < 75120454474be7bc62b77af12bd591a339be27e1 (git)
Affected: 030d794bf49855f5e2a9e8dfbfad34211d1eb08b , < e7a8721b7edb54a157623f9e31d71345333b5fb9 (git)
Create a notification for this product.
Linux Linux Affected: 3.10
Unaffected: 0 , < 3.10 (semver)
Unaffected: 5.10.275 , ≤ 5.10.* (semver)
Unaffected: 5.15.226 , ≤ 5.15.* (semver)
Unaffected: 6.1.193 , ≤ 6.1.* (semver)
Unaffected: 6.6.163 , ≤ 6.6.* (semver)
Unaffected: 6.12.117 , ≤ 6.12.* (semver)
Unaffected: 6.18.61 , ≤ 6.18.* (semver)
Unaffected: 7.3.2 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/sunrpc/auth_gss/svcauth_gss.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "f7f78a8f19c86ed9fcdf60b245bf4b96c93543db",
              "status": "affected",
              "version": "030d794bf49855f5e2a9e8dfbfad34211d1eb08b",
              "versionType": "git"
            },
            {
              "lessThan": "49e2bc27ff9f6cd3843828a9f469a2e1af69a0cb",
              "status": "affected",
              "version": "030d794bf49855f5e2a9e8dfbfad34211d1eb08b",
              "versionType": "git"
            },
            {
              "lessThan": "ff077f38c886616e4fc8e888f1212b9121bda81a",
              "status": "affected",
              "version": "030d794bf49855f5e2a9e8dfbfad34211d1eb08b",
              "versionType": "git"
            },
            {
              "lessThan": "c538969194c2a47132fe1f96ba40f85e159d4f38",
              "status": "affected",
              "version": "030d794bf49855f5e2a9e8dfbfad34211d1eb08b",
              "versionType": "git"
            },
            {
              "lessThan": "0a908446c5edc42905f9136e91bbf4e45d0747b6",
              "status": "affected",
              "version": "030d794bf49855f5e2a9e8dfbfad34211d1eb08b",
              "versionType": "git"
            },
            {
              "lessThan": "3c3b401650227e147c609c33fa458d5d963f2918",
              "status": "affected",
              "version": "030d794bf49855f5e2a9e8dfbfad34211d1eb08b",
              "versionType": "git"
            },
            {
              "lessThan": "75120454474be7bc62b77af12bd591a339be27e1",
              "status": "affected",
              "version": "030d794bf49855f5e2a9e8dfbfad34211d1eb08b",
              "versionType": "git"
            },
            {
              "lessThan": "e7a8721b7edb54a157623f9e31d71345333b5fb9",
              "status": "affected",
              "version": "030d794bf49855f5e2a9e8dfbfad34211d1eb08b",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/sunrpc/auth_gss/svcauth_gss.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.10"
            },
            {
              "lessThan": "3.10",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.275",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.226",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.193",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "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"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.275",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.226",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.193",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.163",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.117",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.61",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.2",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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   \u003cTASK\u003e\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   \u003c/TASK\u003e\n\ncreate_use_gss_proxy_proc_entry() stores the struct net pointer as the\nproc entry\u0027s 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-\u003exprt_net = get_net_track(net, \u0026xprt-\u003ens_tracker, GFP_KERNEL);\n\nget_net_track() -\u003e get_net() -\u003e 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."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - write(2) reaches write_gssp() via proc_reg_write() on /proc/net/rpc/use-gss-proxy; the attacker-supplied byte is the local value \"1\". create_use_gss_proxy_proc_entry() stored the struct net with no reference, and set_gssp_clnt() only then has gssp_rpc_create() open an AF_LOCAL socket to /var/run/gssproxy.sock.\nAC:L - The attacker creates the netns, opens use-gss-proxy, and drops the last reference so __put_net() queues cleanup_net(), then writes \"1\" before rpcsec_gss_exit_net() calls remove_proc_entry(). That ordering is under the attacker\u0027s control, and once write_gssp() runs it always calls set_gssp_clnt() and get_net_track() on the zero refcount.\nPR:L - The proc file is created mode 0600 and inherits uid 0 of net-\u003euser_ns from proc_net_ns_init(). copy_namespaces() grants CLONE_NEWNET to a process with CAP_SYS_ADMIN in its user namespace, which an unprivileged user gets via CLONE_NEWUSER, so that user can open and write the file without init-namespace root.\nUI:N - Exploitation is the attacker\u0027s open of /proc/net/rpc/use-gss-proxy, an exit or setns that drops the netns, and a write of \"1\" on the surviving descriptor. No second user has to mount media, start gssproxy, or send an RPC.\nS:U - The fault stays in the kernel that executed write_gssp(): xprt_init() resurrects the netns refcount and cleanup_net() frees that namespace\u0027s unix hash and prot_inuse while the gssproxy socket from xs_local_setup_socket() still references them.\nC:H - xs_local_setup_socket() leaves a kern AF_LOCAL socket hashed in net-\u003eunx.table and counted in net-\u003ecore.prot_inuse. Those allocations are kvfree\u0027d and free_percpu\u0027d from unix_net_exit() and sock_inuse_exit_net() while xprt_destroy() is still async, so unix_remove_socket() and unix_sock_destructor() read the reclaimed memory.\nI:H - unix_remove_socket() spin_lock()s net-\u003eunx.table.locks and __hlist_del() writes through sk-\u003esk_node.pprev into the bucket unix_net_exit() already kvfree\u0027d, and sock_prot_inuse_add() this_cpu_add()s the freed percpu counter. Reclaiming that kvmalloc buffer turns the unlink into a kernel write.\nA:H - get_net_track() in xprt_init() refcount_inc()s an ns refcount that is already zero, which refcount_warn_saturate() flags as a use-after-free, and the subsequent unix_remove_socket() and sock_prot_inuse_add() dereference memory freed during cleanup_net(), which oopses the kernel."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-23T08:03:53.232Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/f7f78a8f19c86ed9fcdf60b245bf4b96c93543db"
        },
        {
          "url": "https://git.kernel.org/stable/c/49e2bc27ff9f6cd3843828a9f469a2e1af69a0cb"
        },
        {
          "url": "https://git.kernel.org/stable/c/ff077f38c886616e4fc8e888f1212b9121bda81a"
        },
        {
          "url": "https://git.kernel.org/stable/c/c538969194c2a47132fe1f96ba40f85e159d4f38"
        },
        {
          "url": "https://git.kernel.org/stable/c/0a908446c5edc42905f9136e91bbf4e45d0747b6"
        },
        {
          "url": "https://git.kernel.org/stable/c/3c3b401650227e147c609c33fa458d5d963f2918"
        },
        {
          "url": "https://git.kernel.org/stable/c/75120454474be7bc62b77af12bd591a339be27e1"
        },
        {
          "url": "https://git.kernel.org/stable/c/e7a8721b7edb54a157623f9e31d71345333b5fb9"
        }
      ],
      "title": "SUNRPC: fix netns use-after-free in write_gssp()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99528",
    "datePublished": "2026-11-19T14:44:39.856Z",
    "dateReserved": "2026-09-25T10:25:14.420Z",
    "dateUpdated": "2026-11-23T08:03:53.232Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99528",
      "date": "2026-11-22",
      "epss": "0.00174",
      "percentile": "0.06945"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-21T01:20:57.000Z",
      "cve": "CVE-2026-99528",
      "id": "msrc_CVE-2026-99528",
      "initial_release_date": "2026-11-21T01:20:57.000Z",
      "product_status:known_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "SUNRPC: fix netns use-after-free in write_gssp()",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99528.json",
      "version": "1"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "net/sunrpc/auth_gss/svcauth_gss.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "f7f78a8f19c86ed9fcdf60b245bf4b96c93543db",
                    "status": "affected",
                    "version": "030d794bf49855f5e2a9e8dfbfad34211d1eb08b",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "49e2bc27ff9f6cd3843828a9f469a2e1af69a0cb",
                    "status": "affected",
                    "version": "030d794bf49855f5e2a9e8dfbfad34211d1eb08b",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "ff077f38c886616e4fc8e888f1212b9121bda81a",
                    "status": "affected",
                    "version": "030d794bf49855f5e2a9e8dfbfad34211d1eb08b",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "c538969194c2a47132fe1f96ba40f85e159d4f38",
                    "status": "affected",
                    "version": "030d794bf49855f5e2a9e8dfbfad34211d1eb08b",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "0a908446c5edc42905f9136e91bbf4e45d0747b6",
                    "status": "affected",
                    "version": "030d794bf49855f5e2a9e8dfbfad34211d1eb08b",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "3c3b401650227e147c609c33fa458d5d963f2918",
                    "status": "affected",
                    "version": "030d794bf49855f5e2a9e8dfbfad34211d1eb08b",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "75120454474be7bc62b77af12bd591a339be27e1",
                    "status": "affected",
                    "version": "030d794bf49855f5e2a9e8dfbfad34211d1eb08b",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "e7a8721b7edb54a157623f9e31d71345333b5fb9",
                    "status": "affected",
                    "version": "030d794bf49855f5e2a9e8dfbfad34211d1eb08b",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "net/sunrpc/auth_gss/svcauth_gss.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "3.10"
                  },
                  {
                    "lessThan": "3.10",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.10.*",
                    "status": "unaffected",
                    "version": "5.10.275",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.226",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.193",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.163",
                    "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: 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   \u003cTASK\u003e\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   \u003c/TASK\u003e\n\ncreate_use_gss_proxy_proc_entry() stores the struct net pointer as the\nproc entry\u0027s 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-\u003exprt_net = get_net_track(net, \u0026xprt-\u003ens_tracker, GFP_KERNEL);\n\nget_net_track() -\u003e get_net() -\u003e 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."
          }
        ],
        "id": "CVE-2026-99528",
        "lastModified": "2026-11-23T08:17:54.847",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-19T15:18:08.517",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/0a908446c5edc42905f9136e91bbf4e45d0747b6"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/3c3b401650227e147c609c33fa458d5d963f2918"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/49e2bc27ff9f6cd3843828a9f469a2e1af69a0cb"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/75120454474be7bc62b77af12bd591a339be27e1"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/c538969194c2a47132fe1f96ba40f85e159d4f38"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/e7a8721b7edb54a157623f9e31d71345333b5fb9"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f7f78a8f19c86ed9fcdf60b245bf4b96c93543db"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/ff077f38c886616e4fc8e888f1212b9121bda81a"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-22T11:34:02+00:00",
      "cve": "CVE-2026-99528",
      "id": "CVE-2026-99528",
      "initial_release_date": "2026-11-19T14:44:39.856000+00:00",
      "product_status:known_affected": "204",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via use-after-free in write_gssp()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99528.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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…

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…