CVE-2026-142878 (GCVE-0-2026-142878)

Vulnerability from cvelistv5 – Published: 2026-12-03 03:23 – Updated: 2026-12-03 03:23
VLAI
Title
ocfs2: wait for filecheck kobject release after a failed add
Summary
In the Linux kernel, the following vulnerability has been resolved: ocfs2: wait for filecheck kobject release after a failed add The filecheck kobject and its release completion are embedded in ocfs2_super, so the osb must outlive the kobject. On a failed kobject_init_and_add(), creation clears fs_fcheck and calls kobject_put(), but returns without waiting for the release callback. With CONFIG_DEBUG_KOBJECT_RELEASE, the last put queues delayed cleanup. Mount failure can then free the containing osb before the embedded release timer expires: Mount failure Delayed cleanup ------------- --------------- ocfs2_filecheck_create_sysfs() kobject_init_and_add() fails fs_fcheck = NULL kobject_put() queue delayed release return to mount error cleanup ocfs2_dismount_volume() remove_sysfs() skips the wait kfree(osb) expire embedded release timer access freed osb The normal removal path waits for fs_kobj_unregister, but it returns early when fs_fcheck is NULL. The failed-add path therefore leaves the delayed work and its completion in freed storage. Wait for the existing release completion after the failed-add kobject_put(), before returning to mount error cleanup. This keeps the enclosing osb alive until the kobject has finished releasing, matching the normal teardown path. KASAN report as below: BUG: KASAN: slab-use-after-free in __run_timers+0xa6d/0xa90 Write of size 8 at addr ffff8881178a5658 by task swapper/0/0 CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 7.3.0-rc4-next-20260921-pmb-ocfs2-functional-v1+ #1 PREEMPT(lazy) Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: <IRQ> dump_stack_lvl+0x93/0xd0 print_report+0xce/0x630 ? __run_timers+0xa6d/0xa90 ? srso_alias_return_thunk+0x5/0xfbef5 ? __virt_addr_valid+0x20e/0x420 ? __run_timers+0xa6d/0xa90 kasan_report+0xe0/0x110 ? __run_timers+0xa6d/0xa90 __run_timers+0xa6d/0xa90 ? srso_alias_return_thunk+0x5/0xfbef5 ? __pfx___run_timers+0x10/0x10 ? __lock_acquire+0x5a3/0x2140 ? __pfx_do_raw_spin_lock+0x10/0x10 ? srso_alias_return_thunk+0x5/0xfbef5 timer_expire_remote+0xfa/0x160 ? __pfx_timer_expire_remote+0x10/0x10 ? srso_alias_return_thunk+0x5/0xfbef5 ? srso_alias_return_thunk+0x5/0xfbef5 ? trace_hardirqs_on+0x18/0x160 tmigr_handle_remote_up+0x4ba/0x9d0 ? __pfx_tmigr_handle_remote_up+0x10/0x10 ? tmigr_handle_remote+0x21a/0x340 ? srso_alias_return_thunk+0x5/0xfbef5 ? lock_release+0xc8/0x290 ? __pfx_tmigr_handle_remote_up+0x10/0x10 __walk_groups_from+0x5a/0x160 tmigr_handle_remote+0x24f/0x340 ? __pfx_tmigr_handle_remote+0x10/0x10 ? lock_acquire+0x190/0x300 ? srso_alias_return_thunk+0x5/0xfbef5 ? lock_release+0xc8/0x290 run_timer_softirq+0x222/0x270 ? __pfx_run_timer_softirq+0x10/0x10 ? srso_alias_return_thunk+0x5/0xfbef5 ? srso_alias_return_thunk+0x5/0xfbef5 ? lockdep_hardirqs_on_prepare+0xb8/0x1a0 ? srso_alias_return_thunk+0x5/0xfbef5 handle_softirqs+0x1fa/0x8d0 ? __pfx_handle_softirqs+0x10/0x10 ? srso_alias_return_thunk+0x5/0xfbef5 ? _raw_spin_unlock+0x23/0x40 ? srso_alias_return_thunk+0x5/0xfbef5 ? __hrtimer_rearm_deferred+0x1fb/0x5d0 __irq_exit_rcu+0x113/0x1e0 irq_exit_rcu+0xe/0x20 sysvec_apic_timer_interrupt+0x6c/0x80 </IRQ> <TASK> asm_sysvec_apic_timer_interrupt+0x1a/0x20 RIP: 0010:pv_native_safe_halt+0xf/0x20 Code: fa 18 01 e9 ee 37 ff fa 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 23 c7 14 00 fb f4 <e9> c7 37 ff fa 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 RSP: 0018:ffffffff87c07cf8 EFLAGS: 00000206 R ---truncated---
Severity
No CVSS data available.
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 8648 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: b9fba67b3806e21b98bd5a98dc3921a8e9b42d61 , < 9d8da813a77474f2fc773cb33b32c326c9a386c8 (git)
Affected: b9fba67b3806e21b98bd5a98dc3921a8e9b42d61 , < 56e40079f679e64c09984a4f5cfbd0582fa4d736 (git)
Affected: b9fba67b3806e21b98bd5a98dc3921a8e9b42d61 , < 087af0debe3b0d04f62ba0900e85b6f38e3403f8 (git)
Affected: b9fba67b3806e21b98bd5a98dc3921a8e9b42d61 , < 83ffb1dda5dc2e3920f856ed263582594a212b1e (git)
Affected: b9fba67b3806e21b98bd5a98dc3921a8e9b42d61 , < 91e265cf533448a309ba0b481707c32e0e26aa37 (git)
Affected: b9fba67b3806e21b98bd5a98dc3921a8e9b42d61 , < 74fb1f927408bcf10d8ce3da7909ce686a07dd3d (git)
Affected: b9fba67b3806e21b98bd5a98dc3921a8e9b42d61 , < 9c81fade880026ec85cc2b50b80fd30599473372 (git)
Affected: b9fba67b3806e21b98bd5a98dc3921a8e9b42d61 , < a25c02af29c3e95128e4343fceb4bdace8e480a0 (git)
Affected: c7fb6b75def2c2a4bf2902006099ae586fcdb234 (git)
Affected: bb1313f8e3e009b327cb1a289c517a6291d44ca3 (git)
Affected: 4.19.54 , < 4.20 (semver)
Affected: 5.1.13 , < 5.2 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 5.2
Unaffected: 0 , < 5.2 (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.118 , ≤ 6.12.* (semver)
Unaffected: 6.18.64 , ≤ 6.18.* (semver)
Unaffected: 7.3.5 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/ocfs2/filecheck.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "9d8da813a77474f2fc773cb33b32c326c9a386c8",
              "status": "affected",
              "version": "b9fba67b3806e21b98bd5a98dc3921a8e9b42d61",
              "versionType": "git"
            },
            {
              "lessThan": "56e40079f679e64c09984a4f5cfbd0582fa4d736",
              "status": "affected",
              "version": "b9fba67b3806e21b98bd5a98dc3921a8e9b42d61",
              "versionType": "git"
            },
            {
              "lessThan": "087af0debe3b0d04f62ba0900e85b6f38e3403f8",
              "status": "affected",
              "version": "b9fba67b3806e21b98bd5a98dc3921a8e9b42d61",
              "versionType": "git"
            },
            {
              "lessThan": "83ffb1dda5dc2e3920f856ed263582594a212b1e",
              "status": "affected",
              "version": "b9fba67b3806e21b98bd5a98dc3921a8e9b42d61",
              "versionType": "git"
            },
            {
              "lessThan": "91e265cf533448a309ba0b481707c32e0e26aa37",
              "status": "affected",
              "version": "b9fba67b3806e21b98bd5a98dc3921a8e9b42d61",
              "versionType": "git"
            },
            {
              "lessThan": "74fb1f927408bcf10d8ce3da7909ce686a07dd3d",
              "status": "affected",
              "version": "b9fba67b3806e21b98bd5a98dc3921a8e9b42d61",
              "versionType": "git"
            },
            {
              "lessThan": "9c81fade880026ec85cc2b50b80fd30599473372",
              "status": "affected",
              "version": "b9fba67b3806e21b98bd5a98dc3921a8e9b42d61",
              "versionType": "git"
            },
            {
              "lessThan": "a25c02af29c3e95128e4343fceb4bdace8e480a0",
              "status": "affected",
              "version": "b9fba67b3806e21b98bd5a98dc3921a8e9b42d61",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "c7fb6b75def2c2a4bf2902006099ae586fcdb234",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "bb1313f8e3e009b327cb1a289c517a6291d44ca3",
              "versionType": "git"
            },
            {
              "lessThan": "4.20",
              "status": "affected",
              "version": "4.19.54",
              "versionType": "semver"
            },
            {
              "lessThan": "5.2",
              "status": "affected",
              "version": "5.1.13",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/ocfs2/filecheck.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.2"
            },
            {
              "lessThan": "5.2",
              "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.118",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.64",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.275",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.226",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.193",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.163",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.118",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.64",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.5",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc2",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.19.54",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.1.13",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: wait for filecheck kobject release after a failed add\n\nThe filecheck kobject and its release completion are embedded in\nocfs2_super, so the osb must outlive the kobject. On a failed\nkobject_init_and_add(), creation clears fs_fcheck and calls\nkobject_put(), but returns without waiting for the release callback.\n\nWith CONFIG_DEBUG_KOBJECT_RELEASE, the last put queues delayed cleanup.\nMount failure can then free the containing osb before the embedded\nrelease timer expires:\n\n  Mount failure                     Delayed cleanup\n  -------------                     ---------------\n  ocfs2_filecheck_create_sysfs()\n    kobject_init_and_add() fails\n    fs_fcheck = NULL\n    kobject_put()\n      queue delayed release\n  return to mount error cleanup\n  ocfs2_dismount_volume()\n    remove_sysfs() skips the wait\n    kfree(osb)\n                                    expire embedded release timer\n                                      access freed osb\n\nThe normal removal path waits for fs_kobj_unregister, but it returns\nearly when fs_fcheck is NULL. The failed-add path therefore leaves the\ndelayed work and its completion in freed storage.\n\nWait for the existing release completion after the failed-add\nkobject_put(), before returning to mount error cleanup. This keeps the\nenclosing osb alive until the kobject has finished releasing, matching\nthe normal teardown path.\n\nKASAN report as below:\n\n    BUG: KASAN: slab-use-after-free in __run_timers+0xa6d/0xa90\n    Write of size 8 at addr ffff8881178a5658 by task swapper/0/0\n    \n    CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 7.3.0-rc4-next-20260921-pmb-ocfs2-functional-v1+ #1 PREEMPT(lazy) \n    Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014\n    Call Trace:\n     \u003cIRQ\u003e\n     dump_stack_lvl+0x93/0xd0\n     print_report+0xce/0x630\n     ? __run_timers+0xa6d/0xa90\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __virt_addr_valid+0x20e/0x420\n     ? __run_timers+0xa6d/0xa90\n     kasan_report+0xe0/0x110\n     ? __run_timers+0xa6d/0xa90\n     __run_timers+0xa6d/0xa90\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __pfx___run_timers+0x10/0x10\n     ? __lock_acquire+0x5a3/0x2140\n     ? __pfx_do_raw_spin_lock+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     timer_expire_remote+0xfa/0x160\n     ? __pfx_timer_expire_remote+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? trace_hardirqs_on+0x18/0x160\n     tmigr_handle_remote_up+0x4ba/0x9d0\n     ? __pfx_tmigr_handle_remote_up+0x10/0x10\n     ? tmigr_handle_remote+0x21a/0x340\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? lock_release+0xc8/0x290\n     ? __pfx_tmigr_handle_remote_up+0x10/0x10\n     __walk_groups_from+0x5a/0x160\n     tmigr_handle_remote+0x24f/0x340\n     ? __pfx_tmigr_handle_remote+0x10/0x10\n     ? lock_acquire+0x190/0x300\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? lock_release+0xc8/0x290\n     run_timer_softirq+0x222/0x270\n     ? __pfx_run_timer_softirq+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? lockdep_hardirqs_on_prepare+0xb8/0x1a0\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     handle_softirqs+0x1fa/0x8d0\n     ? __pfx_handle_softirqs+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? _raw_spin_unlock+0x23/0x40\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __hrtimer_rearm_deferred+0x1fb/0x5d0\n     __irq_exit_rcu+0x113/0x1e0\n     irq_exit_rcu+0xe/0x20\n     sysvec_apic_timer_interrupt+0x6c/0x80\n     \u003c/IRQ\u003e\n     \u003cTASK\u003e\n     asm_sysvec_apic_timer_interrupt+0x1a/0x20\n    RIP: 0010:pv_native_safe_halt+0xf/0x20\n    Code: fa 18 01 e9 ee 37 ff fa 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 23 c7 14 00 fb f4 \u003ce9\u003e c7 37 ff fa 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90\n    RSP: 0018:ffffffff87c07cf8 EFLAGS: 00000206\n    R\n---truncated---"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-03T03:23:35.425Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/9d8da813a77474f2fc773cb33b32c326c9a386c8"
        },
        {
          "url": "https://git.kernel.org/stable/c/56e40079f679e64c09984a4f5cfbd0582fa4d736"
        },
        {
          "url": "https://git.kernel.org/stable/c/087af0debe3b0d04f62ba0900e85b6f38e3403f8"
        },
        {
          "url": "https://git.kernel.org/stable/c/83ffb1dda5dc2e3920f856ed263582594a212b1e"
        },
        {
          "url": "https://git.kernel.org/stable/c/91e265cf533448a309ba0b481707c32e0e26aa37"
        },
        {
          "url": "https://git.kernel.org/stable/c/74fb1f927408bcf10d8ce3da7909ce686a07dd3d"
        },
        {
          "url": "https://git.kernel.org/stable/c/9c81fade880026ec85cc2b50b80fd30599473372"
        },
        {
          "url": "https://git.kernel.org/stable/c/a25c02af29c3e95128e4343fceb4bdace8e480a0"
        }
      ],
      "title": "ocfs2: wait for filecheck kobject release after a failed add",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-142878",
    "datePublished": "2026-12-03T03:23:35.425Z",
    "dateReserved": "2026-12-03T03:10:28.334Z",
    "dateUpdated": "2026-12-03T03:23:35.425Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-142878",
      "date": "2026-12-04",
      "epss": "0.00346",
      "percentile": "0.30135"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "fs/ocfs2/filecheck.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "9d8da813a77474f2fc773cb33b32c326c9a386c8",
                    "status": "affected",
                    "version": "b9fba67b3806e21b98bd5a98dc3921a8e9b42d61",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "56e40079f679e64c09984a4f5cfbd0582fa4d736",
                    "status": "affected",
                    "version": "b9fba67b3806e21b98bd5a98dc3921a8e9b42d61",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "087af0debe3b0d04f62ba0900e85b6f38e3403f8",
                    "status": "affected",
                    "version": "b9fba67b3806e21b98bd5a98dc3921a8e9b42d61",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "83ffb1dda5dc2e3920f856ed263582594a212b1e",
                    "status": "affected",
                    "version": "b9fba67b3806e21b98bd5a98dc3921a8e9b42d61",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "91e265cf533448a309ba0b481707c32e0e26aa37",
                    "status": "affected",
                    "version": "b9fba67b3806e21b98bd5a98dc3921a8e9b42d61",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "74fb1f927408bcf10d8ce3da7909ce686a07dd3d",
                    "status": "affected",
                    "version": "b9fba67b3806e21b98bd5a98dc3921a8e9b42d61",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "9c81fade880026ec85cc2b50b80fd30599473372",
                    "status": "affected",
                    "version": "b9fba67b3806e21b98bd5a98dc3921a8e9b42d61",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "a25c02af29c3e95128e4343fceb4bdace8e480a0",
                    "status": "affected",
                    "version": "b9fba67b3806e21b98bd5a98dc3921a8e9b42d61",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "c7fb6b75def2c2a4bf2902006099ae586fcdb234",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "bb1313f8e3e009b327cb1a289c517a6291d44ca3",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "4.20",
                    "status": "affected",
                    "version": "4.19.54",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "5.2",
                    "status": "affected",
                    "version": "5.1.13",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "fs/ocfs2/filecheck.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "5.2"
                  },
                  {
                    "lessThan": "5.2",
                    "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.118",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.64",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.5",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc2",
                    "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\nocfs2: wait for filecheck kobject release after a failed add\n\nThe filecheck kobject and its release completion are embedded in\nocfs2_super, so the osb must outlive the kobject. On a failed\nkobject_init_and_add(), creation clears fs_fcheck and calls\nkobject_put(), but returns without waiting for the release callback.\n\nWith CONFIG_DEBUG_KOBJECT_RELEASE, the last put queues delayed cleanup.\nMount failure can then free the containing osb before the embedded\nrelease timer expires:\n\n  Mount failure                     Delayed cleanup\n  -------------                     ---------------\n  ocfs2_filecheck_create_sysfs()\n    kobject_init_and_add() fails\n    fs_fcheck = NULL\n    kobject_put()\n      queue delayed release\n  return to mount error cleanup\n  ocfs2_dismount_volume()\n    remove_sysfs() skips the wait\n    kfree(osb)\n                                    expire embedded release timer\n                                      access freed osb\n\nThe normal removal path waits for fs_kobj_unregister, but it returns\nearly when fs_fcheck is NULL. The failed-add path therefore leaves the\ndelayed work and its completion in freed storage.\n\nWait for the existing release completion after the failed-add\nkobject_put(), before returning to mount error cleanup. This keeps the\nenclosing osb alive until the kobject has finished releasing, matching\nthe normal teardown path.\n\nKASAN report as below:\n\n    BUG: KASAN: slab-use-after-free in __run_timers+0xa6d/0xa90\n    Write of size 8 at addr ffff8881178a5658 by task swapper/0/0\n    \n    CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 7.3.0-rc4-next-20260921-pmb-ocfs2-functional-v1+ #1 PREEMPT(lazy) \n    Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014\n    Call Trace:\n     \u003cIRQ\u003e\n     dump_stack_lvl+0x93/0xd0\n     print_report+0xce/0x630\n     ? __run_timers+0xa6d/0xa90\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __virt_addr_valid+0x20e/0x420\n     ? __run_timers+0xa6d/0xa90\n     kasan_report+0xe0/0x110\n     ? __run_timers+0xa6d/0xa90\n     __run_timers+0xa6d/0xa90\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __pfx___run_timers+0x10/0x10\n     ? __lock_acquire+0x5a3/0x2140\n     ? __pfx_do_raw_spin_lock+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     timer_expire_remote+0xfa/0x160\n     ? __pfx_timer_expire_remote+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? trace_hardirqs_on+0x18/0x160\n     tmigr_handle_remote_up+0x4ba/0x9d0\n     ? __pfx_tmigr_handle_remote_up+0x10/0x10\n     ? tmigr_handle_remote+0x21a/0x340\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? lock_release+0xc8/0x290\n     ? __pfx_tmigr_handle_remote_up+0x10/0x10\n     __walk_groups_from+0x5a/0x160\n     tmigr_handle_remote+0x24f/0x340\n     ? __pfx_tmigr_handle_remote+0x10/0x10\n     ? lock_acquire+0x190/0x300\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? lock_release+0xc8/0x290\n     run_timer_softirq+0x222/0x270\n     ? __pfx_run_timer_softirq+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? lockdep_hardirqs_on_prepare+0xb8/0x1a0\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     handle_softirqs+0x1fa/0x8d0\n     ? __pfx_handle_softirqs+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? _raw_spin_unlock+0x23/0x40\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __hrtimer_rearm_deferred+0x1fb/0x5d0\n     __irq_exit_rcu+0x113/0x1e0\n     irq_exit_rcu+0xe/0x20\n     sysvec_apic_timer_interrupt+0x6c/0x80\n     \u003c/IRQ\u003e\n     \u003cTASK\u003e\n     asm_sysvec_apic_timer_interrupt+0x1a/0x20\n    RIP: 0010:pv_native_safe_halt+0xf/0x20\n    Code: fa 18 01 e9 ee 37 ff fa 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 23 c7 14 00 fb f4 \u003ce9\u003e c7 37 ff fa 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90\n    RSP: 0018:ffffffff87c07cf8 EFLAGS: 00000206\n    R\n---truncated---"
          }
        ],
        "id": "CVE-2026-142878",
        "lastModified": "2026-12-03T04:18:26.030",
        "metrics": {},
        "published": "2026-12-03T04:18:26.030",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/087af0debe3b0d04f62ba0900e85b6f38e3403f8"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/56e40079f679e64c09984a4f5cfbd0582fa4d736"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/74fb1f927408bcf10d8ce3da7909ce686a07dd3d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/83ffb1dda5dc2e3920f856ed263582594a212b1e"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/91e265cf533448a309ba0b481707c32e0e26aa37"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/9c81fade880026ec85cc2b50b80fd30599473372"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/9d8da813a77474f2fc773cb33b32c326c9a386c8"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/a25c02af29c3e95128e4343fceb4bdace8e480a0"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-12-04T14:45:02+00:00",
      "cve": "CVE-2026-142878",
      "id": "CVE-2026-142878",
      "initial_release_date": "2026-12-03T03:23:35.425000+00:00",
      "product_status:known_not_affected": "280",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Use-after-free in OCFS2 via mount failure cleanup",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-142878.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

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.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    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.