{
  "affected": [
    {
      "ecosystem_specific": {
        "urgency": "not yet assigned"
      },
      "package": {
        "ecosystem": "Debian:12",
        "name": "linux"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "urgency": "not yet assigned"
      },
      "package": {
        "ecosystem": "Debian:13",
        "name": "linux"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6.12.117-1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "urgency": "not yet assigned"
      },
      "package": {
        "ecosystem": "Debian:14",
        "name": "linux"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7.3.4-1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "details": "In the Linux kernel, the following vulnerability has been resolved:  ucount: take the rlimit reference before checking the limit  inc_rlimit_get_ucounts() takes the reference that pins a ucounts level while its rlimit count is non-zero only in the walk whose increment is the 0 -\u003e 1 transition, and only after that walk passed the limit check. A walk that raises the count from zero and then fails the limit backs out without the reference, while a concurrent walk that raised it past one keeps its increment and never takes one either:    CPU0 (obeys the limit)              CPU1 (overrides it)   new = add_return(1) -\u003e 1                                       new = add_return(1) -\u003e 2                                       new != 1, no get_ucounts()   new \u003e max -\u003e dec_unwind   sub_return(1) -\u003e 1   (no put)  The count is 1 with no reference held. When CPU1 drops its charge, dec_rlimit_put_ucounts() takes the count to 0 and puts a reference nobody took, which frees the live struct ucounts, and the user_namespace it pins, with kfree_rcu(). The mirror interleaving leaks the reference instead.  An unprivileged user reaches this on a kernel with CONFIG_USER_NS=y: in a user namespace with RLIMIT_SIGPENDING 0, one process taking synchronous SIGSEGVs (forced, so override_rlimit is set) races a second process in the same namespace and uid that queues real-time signals, which obey the limit. The two hold different sighand-\u003esiglock but charge the same per-namespace SIGPENDING ucounts. Unpatched, with rcuref debugging:    rcuref - imbalanced put()   WARNING: lib/rcuref.c:266 at rcuref_put_slowpath+0xf4/0x120    put_ucounts+0x5a/0x180    do_dec_rlimit_put_ucounts+0x70/0x90    __sigqueue_free+0x33/0xc0    get_signal+0x56f/0xd20    arch_do_signal_or_restart+0x87/0x380    irqentry_exit+0x243/0x650    asm_exc_page_fault+0x26/0x30  Take the reference on the 0 -\u003e 1 transition before the limit is checked, so the walk that raises the count from zero owns that level's reference even when its request is rejected, and unwind a rejected level through do_dec_rlimit_put_ucounts(), which releases the reference when the count returns to 0. The get_ucounts() failure path is unchanged. With the patch the same interleaving, forced some 80000 times in a KASAN build, produces no warning and no KASAN report.",
  "id": "DEBIAN-CVE-2026-99950",
  "modified": "2026-12-01T03:47:35.230267084Z",
  "published": "2026-11-30T14:20:32.233Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://security-tracker.debian.org/tracker/CVE-2026-99950"
    }
  ],
  "upstream": [
    "CVE-2026-99950"
  ]
}