{
  "affected": [
    {
      "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:  userns: don't drop the exec securebits  SECBIT_EXEC_RESTRICT_FILE and SECBIT_EXEC_DENY_INTERACTIVE tell script interpreters to only run what AT_EXECVE_CHECK allows and to refuse interactive input. A service manager sets them together with their lock bits so that nothing below it can turn them off again.  But set_cred_user_ns() resets all securebits to SECUREBITS_DEFAULT. So any task that can create a user namespace sheds the locked exec bits with a single unshare(CLONE_NEWUSER) and joining one with setns() does the same. The lock is pointless if anyone who may create a user namespace can drop it, and that is pretty much everyone.  Resetting the other bits is fine. They are about how capabilities are computed and a new user namespace starts out with a full set of capabilities anyway. The exec bits grant nothing though. They are restrictions a task placed on itself, just like no_new_privs which a user namespace doesn't touch either. So keep them and their locks.  Reproducer:    // SPDX-License-Identifier: GPL-2.0   /* Lock the exec securebits, then create a user namespace and look at them again. */   #define _GNU_SOURCE   #include \u003csched.h\u003e   #include \u003cstdio.h\u003e   #include \u003csys/prctl.h\u003e    #define SECBIT_EXEC_RESTRICT_FILE\t\t(1 \u003c\u003c 8)   #define SECBIT_EXEC_RESTRICT_FILE_LOCKED\t(1 \u003c\u003c 9)   #define SECBIT_EXEC_DENY_INTERACTIVE\t\t(1 \u003c\u003c 10)   #define SECBIT_EXEC_DENY_INTERACTIVE_LOCKED\t(1 \u003c\u003c 11)    int main(void)   {   \tint bits = SECBIT_EXEC_RESTRICT_FILE | SECBIT_EXEC_RESTRICT_FILE_LOCKED |   \t\t   SECBIT_EXEC_DENY_INTERACTIVE | SECBIT_EXEC_DENY_INTERACTIVE_LOCKED;    \tif (prctl(PR_SET_SECUREBITS, bits, 0, 0, 0)) {   \t\tperror(\"PR_SET_SECUREBITS\");   \t\treturn 1;   \t}   \tprintf(\"before: 0x%x\\n\", prctl(PR_GET_SECUREBITS, 0, 0, 0, 0));   \tprintf(\"clear locked bits: %s\\n\", prctl(PR_SET_SECUREBITS, 0, 0, 0, 0) ? \"refused\" : \"ALLOWED\");    \tif (unshare(CLONE_NEWUSER)) {   \t\tperror(\"unshare(CLONE_NEWUSER)\");   \t\treturn 1;   \t}   \tprintf(\"after unshare(CLONE_NEWUSER): 0x%x\\n\", prctl(PR_GET_SECUREBITS, 0, 0, 0, 0));   \treturn 0;   }  On v7.1 this prints \"before: 0xf00\", \"clear locked bits: refused\" and \"after unshare(CLONE_NEWUSER): 0x0\". With this patch the last line reads 0xf00 as well.",
  "id": "DEBIAN-CVE-2026-99843",
  "modified": "2026-12-01T03:47:39.042212497Z",
  "published": "2026-11-30T14:20:17.527Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://security-tracker.debian.org/tracker/CVE-2026-99843"
    }
  ],
  "upstream": [
    "CVE-2026-99843"
  ]
}