Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-68368

UNSCOREDEPSS 13%

md: init bioset in mddev_init

Mitigation

  • Upgrade Linux to 381a3ce1c0ffed647c9b913e142b099c7e9d5afc or later.

Who should check

  • Anyone running Linux >= d981ed8419303ed12351eea8541ad6cb76455fe3, < 903fb4851ee8d291372d285f616c398a9c4cbbec; >= d981ed8419303ed12351eea8541ad6cb76455fe3, < 9d37fe37dfa0833a8768740f0575e0ffd793cb4a; >= d981ed8419303ed12351eea8541ad6cb76455fe3, < 381a3ce1c0ffed647c9b913e142b099c7e9d5afc
  • Anyone running Linux 6.12

Vulnerability facts

Affected
Linux >= d981ed8419303ed12351eea8541ad6cb76455fe3, < 903fb4851ee8d291372d285f616c398a9c4cbbec; >= d981ed8419303ed12351eea8541ad6cb76455fe3, < 9d37fe37dfa0833a8768740f0575e0ffd793cb4a; >= d981ed8419303ed12351eea8541ad6cb76455fe3, < 381a3ce1c0ffed647c9b913e142b099c7e9d5afc; Linux 6.12
Fixed in
Linux 903fb4851ee8d291372d285f616c398a9c4cbbec, Linux 9d37fe37dfa0833a8768740f0575e0ffd793cb4a, Linux 381a3ce1c0ffed647c9b913e142b099c7e9d5afc
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.27% chance of exploitation in 30 days (percentile 13, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: md: init bioset in mddev_init IO operations may be needed before md_run(), such as updating metadata after writing sysfs. Without bioset, this triggers a NULL pointer dereference as below: BUG: kernel NULL pointer dereference, address: 0000000000000020 Call Trace: md_update_sb+0x658/0xe00 new_level_store+0xc5/0x120 md_attr_store+0xc9/0x1e0 sysfs_kf_write+0x6f/0xa0 kernfs_fop_write_iter+0x141/0x2a0 vfs_write+0x1fc/0x5a0 ksys_write+0x79/0x180 __x64_sys_write+0x1d/0x30 x64_sys_call+0x2818/0x2880 do_syscall_64+0xa9/0x580 entry_SYSCALL_64_after_hwframe+0x4b/0x53 Reproducer ``` mdadm -CR /dev/md0 -l1 -n2 /dev/sd[cd] echo inactive > /sys/block/md0/md/array_state echo 10 > /sys/block/md0/md/new_level ``` mddev_init() can only be called once per mddev, no need to test if bioset has been initialized anymore.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= d981ed8419303ed12351eea8541ad6cb76455fe3, < 903fb4851ee8d291372d285f616c398a9c4cbbec; >= d981ed8419303ed12351eea8541ad6cb76455fe3, < 9d37fe37dfa0833a8768740f0575e0ffd793cb4a; >= d981ed8419303ed12351eea8541ad6cb76455fe3, < 381a3ce1c0ffed647c9b913e142b099c7e9d5afc—cvelist
Linux6.12—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-68368. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68368.md
Affected: Linux >= d981ed8419303ed12351eea8541ad6cb76455fe3, < 903fb4851ee8d291372d285f616c398a9c4cbbec; >= d981ed8419303ed12351eea8541ad6cb76455fe3, < 9d37fe37dfa0833a8768740f0575e0ffd793cb4a; >= d981ed8419303ed12351eea8541ad6cb76455fe3, < 381a3ce1c0ffed647c9b913e142b099c7e9d5afc; Linux 6.12
Fixed in: Linux 903fb4851ee8d291372d285f616c398a9c4cbbec, Linux 9d37fe37dfa0833a8768740f0575e0ffd793cb4a, Linux 381a3ce1c0ffed647c9b913e142b099c7e9d5afc

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-68368 being exploited?

There is no confirmed exploitation: CVE-2025-68368 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-68368?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2025-68368?

Linux >= d981ed8419303ed12351eea8541ad6cb76455fe3, < 903fb4851ee8d291372d285f616c398a9c4cbbec; >= d981ed8419303ed12351eea8541ad6cb76455fe3, < 9d37fe37dfa0833a8768740f0575e0ffd793cb4a; >= d981ed8419303ed12351eea8541ad6cb76455fe3, < 381a3ce1c0ffed647c9b913e142b099c7e9d5afc; Linux 6.12.

Is there a fix for CVE-2025-68368?

Yes. Fixed in Linux 903fb4851ee8d291372d285f616c398a9c4cbbec, Linux 9d37fe37dfa0833a8768740f0575e0ffd793cb4a, Linux 381a3ce1c0ffed647c9b913e142b099c7e9d5afc. Upgrade Linux to 381a3ce1c0ffed647c9b913e142b099c7e9d5afc or later.

How do I check if I'm affected by CVE-2025-68368?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors