← Back to CVE Explorer

CVE-2025-68336

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: locking/spinlock/debug: Fix data-race in do_raw_write_lock KCSAN reports: BUG: KCSAN: data-race in do_raw_write_lock / do_raw_write_lock write (marked) to 0xffff800009cf504c of 4 bytes by task 1102 on cpu 1: do_raw_write_lock+0x120/0x204 _raw_write_lock_irq do_exit call_usermodehelper_exec_async ret_from_fork read to 0xffff800009cf504c of 4 bytes by task 1103 on cpu 0: do_raw_write_lock+0x88/0x204 _raw_write_lock_irq do_exit call_usermodehelper_exec_async ret_from_fork value changed: 0xffffffff -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 1103 Comm: kworker/u4:1 6.1.111 Commit 1a365e822372 ("locking/spinlock/debug: Fix various data races") has adressed most of these races, but seems to be not consistent/not complete. >From do_raw_write_lock() only debug_write_lock_after() part has been converted to WRITE_ONCE(), but not debug_write_lock_before() part. Do it now.

Severity
HIGH
CVSS score
7.5 (v3.1)
Vulnerability status
Deferred
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2025-12-22 17:16:01.357000
Last modified
2026-10-19 21:10:00.160000
View original CVE JSON
{
  "id": "CVE-2025-68336",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2025-12-22T17:16:01.357",
  "lastModified": "2026-10-19T21:10:00.160",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nlocking/spinlock/debug: Fix data-race in do_raw_write_lock\n\nKCSAN reports:\n\nBUG: KCSAN: data-race in do_raw_write_lock / do_raw_write_lock\n\nwrite (marked) to 0xffff800009cf504c of 4 bytes by task 1102 on cpu 1:\n do_raw_write_lock+0x120/0x204\n _raw_write_lock_irq\n do_exit\n call_usermodehelper_exec_async\n ret_from_fork\n\nread to 0xffff800009cf504c of 4 bytes by task 1103 on cpu 0:\n do_raw_write_lock+0x88/0x204\n _raw_write_lock_irq\n do_exit\n call_usermodehelper_exec_async\n ret_from_fork\n\nvalue changed: 0xffffffff -> 0x00000001\n\nReported by Kernel Concurrency Sanitizer on:\nCPU: 0 PID: 1103 Comm: kworker/u4:1 6.1.111\n\nCommit 1a365e822372 (\"locking/spinlock/debug: Fix various data races\") has\nadressed most of these races, but seems to be not consistent/not complete.\n\n>From do_raw_write_lock() only debug_write_lock_after() part has been\nconverted to WRITE_ONCE(), but not debug_write_lock_before() part.\nDo it now."
    },
    {
      "lang": "es",
      "value": "En el kernel de Linux, se ha corregido la siguiente vulnerabilidad:\\n\\nlocking/spinlock/debug: Fix data-race in do_raw_write_lock\\n\\nInformes de KCSAN:\\n\\nBUG: KCSAN: data-race in do_raw_write_lock / do_raw_write_lock\\n\\nwrite (marked) to 0xffff800009cf504c of 4 bytes by task 1102 on cpu 1:\\n do_raw_write_lock+0x120/0x204\\n _raw_write_lock_irq\\n do_exit\\n call_usermodehelper_exec_async\\n ret_from_fork\\n\\nread to 0xffff800009cf504c of 4 bytes by task 1103 on cpu 0:\\n do_raw_write_lock+0x88/0x204\\n _raw_write_lock_irq\\n do_exit\\n call_usermodehelper_exec_async\\n ret_from_fork\\n\\nvalue changed: 0xffffffff  -mayor que 0x00000001\\n\\nReportado por Kernel Concurrency Sanitizer el:\\nCPU: 0 PID: 1103 Comm: kworker/u4:1 6.1.111\\n\\nEl commit 1a365e822372 (\\“locking/spinlock/debug: Fix various data races\\”) ha abordado la mayor parte de estas carreras, pero parece no ser consistente/no estar completo.\\n\\n>Desde do_raw_write_lock() solo la parte debug_write_lock_after() se ha\\nconvertido a WRITE_ONCE(), pero la parte debug_write_lock_before() no.\\nHazlo ahora."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "kernel/locking/spinlock_debug.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "1a365e822372ba24c9da0822bc583894f6f3d821",
              "lessThan": "8e5b2cf10844402054b52b489b525dc30cc16908",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "1a365e822372ba24c9da0822bc583894f6f3d821",
              "lessThan": "c228cb699a07a5f2d596d186bc5c314c99bb8bbf",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "1a365e822372ba24c9da0822bc583894f6f3d821",
              "lessThan": "93bd23524d63deb80fb85beb2e43fafeb1043d0f",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "1a365e822372ba24c9da0822bc583894f6f3d821",
              "lessThan": "39d2ef113416f1a4205b03fb0aa2e428d1412c77",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "1a365e822372ba24c9da0822bc583894f6f3d821",
              "lessThan": "b163a5e8c703201c905d6ec7920ed79d167e8442",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "1a365e822372ba24c9da0822bc583894f6f3d821",
              "lessThan": "16b3590c0e1e615757dade098c8fbc0d4f040c76",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "1a365e822372ba24c9da0822bc583894f6f3d821",
              "lessThan": "396a9270a7b90886be501611b13aa636f2e8c703",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "1a365e822372ba24c9da0822bc583894f6f3d821",
              "lessThan": "c14ecb555c3ee80eeb030a4e46d00e679537f03a",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "3106fb78d3579c8e9c9b3040f7f7841981919624",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "c0911024ff927ba5c4786b507004cb615be1d776",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "09226e5c38639437565af01e6009a9286a351d04",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "c7673f01604fa722b9d7c1e29e17cec1b8ae09c5",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "c120c3dbeb76305235c8e557f84d9e2d7d0f5933",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "4.4.209",
              "lessThan": "4.5",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "4.9.209",
              "lessThan": "4.10",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "4.14.164",
              "lessThan": "4.15",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "4.19.95",
              "lessThan": "4.20",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "5.4.11",
              "lessThan": "5.5",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "kernel/locking/spinlock_debug.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "5.5",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "5.5",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.10.248",
              "lessThanOrEqual": "5.10.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.198",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.160",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.120",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.62",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.17.12",
              "lessThanOrEqual": "6.17.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.1",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.19",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "baseScore": 7.5,
          "baseSeverity": "HIGH",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "NONE",
          "integrityImpact": "NONE",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 3.9,
        "impactScore": 3.6
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-10-16T15:04:42.942439Z",
          "id": "CVE-2025-68336",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "yes"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/16b3590c0e1e615757dade098c8fbc0d4f040c76",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/396a9270a7b90886be501611b13aa636f2e8c703",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/39d2ef113416f1a4205b03fb0aa2e428d1412c77",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/8e5b2cf10844402054b52b489b525dc30cc16908",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/93bd23524d63deb80fb85beb2e43fafeb1043d0f",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/b163a5e8c703201c905d6ec7920ed79d167e8442",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/c14ecb555c3ee80eeb030a4e46d00e679537f03a",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/c228cb699a07a5f2d596d186bc5c314c99bb8bbf",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}