{"api_version":"1","generated_at":"2026-10-06T10:21:35+00:00","cve":"CVE-2026-98228","urls":{"html":"https://cve.report/CVE-2026-98228","api":"https://cve.report/api/cve/CVE-2026-98228.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-98228","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98228"},"summary":{"title":"mips: select CONFIG_WEAK_REORDERING_BEYOND_LLSC from CONFIG_EYEQ","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmips: select CONFIG_WEAK_REORDERING_BEYOND_LLSC from CONFIG_EYEQ\n\nOn I6500 CPU cores, lld and scd give no ordering guarantees (same as all\nother instructions). To respect the assumption that arch_cmpxchg() is\nfully ordered, we must inject sync instructions above and below our\nlld/scd loops using the already in place WEAK_REORDERING_BEYOND_LLSC\ninfrastructure.\n\nOtherwise, bad things can happen:\n\n[   34.054496] CPU 3 Unable to handle kernel paging request at virtual address 0000000000000000, epc == a80000080838e01c, ra == a80000080838dfc4\n[   34.054559] Oops[#1]:\n[   34.069561] CPU: 3 UID: 0 PID: 170 Comm: pipe_race Not tainted 7.2.0-rc6-01553-gb73c35220968-dirty #103 VOLUNTARY\n[   34.079932] Hardware name: Mobile EyeQ5 MP5 Evaluation board\n[   34.085592] $ 0   : 0000000000000000 0000000000000001 0000000000000000 0000000000000000\n[   34.093616] $ 4   : a800000808ee2618 000000000b7a879d 0000000000001000 0000000000000000\n[   34.101638] $ 8   : 0000000000e3f2c9 0000000000000000 a800000808a2a9f8 0000000000000000\n[   34.109660] $12   : a8000008139ffcd8 ffffffff84080018 a80000080837fae0 7878787878787878\n[   34.117682] $16   : a800000807e82940 0000000000001000 0000000000000000 0000000000000000\n[   34.125704] $20   : a800000802920e00 a8000008139ffdf8 a800000802649400 0000000000e3f2c9\n[   34.133726] $24   : 0000000000000006 00000001200406e0\n[   34.141783] $28   : a8000008139fc000 a8000008139ffd10 0000000000e3f2c8 a80000080838dfc4\n[   34.149837] epc   : a80000080838e01c anon_pipe_read+0xd4/0x428\n[   34.155697] ra    : a80000080838dfc4 anon_pipe_read+0x7c/0x428\n[   34.161549] Status: 140000e3  KX SX UX KERNEL EXL IE\n[   34.166551] Cause : 40800408 (ExcCode 02)\n[   34.170574] BadVA : 0000000000000000\n[   34.174161] PrId  : 0001b028 (MIPS I6500)\n[   34.178183] Process pipe_race (pid: 170, threadinfo=000000005ca35720, task=00000000e1013890, tls=000000014ebbb780)\n[   34.188568] Stack : a800000802649400 0000000000000000 0000000000000000 a8000008139ffdd0\n[   34.196623]\t 0000000000000fba a800000808ee0000 0000000000000001 a8000008130c3e80\n[   34.204676]\t a8000008080d1280 a8000008139ffd58 a8000008139ffd58 1dbd2b22ea1dd500\n[   34.212729]\t a800000802649400 a800000808ee0000 ffffffffffffffea 0000000000000001\n[   34.220783]\t 0000000000001000 0000000000000000 00000001200ae518 ffffffffffffffff\n[   34.228836]\t 000000fffbe0e530 a80000080837edf4 000000fffbe0e530 0000000000000000\n[   34.236890]\t 0000000000000000 0000000000000000 000000014ebb55a0 0000000000001000\n[   34.244943]\t 0000000000000001 a800000802649400 0000000000000000 0000000000000000\n[   34.252996]\t 0000000000000000 0000400400000000 0000000000000000 1dbd2b22ea1dd500\n[   34.261049]\t 00000000140000e3 a800000802649400 a800000802649400 a800000808ee0000\n[   34.269103]\t ...\n[   34.271568] Call Trace:\n[   34.274026] [<a80000080838e01c>] anon_pipe_read+0xd4/0x428\n[   34.279533] [<a80000080837edf4>] vfs_read+0x25c/0x318\n[   34.284607] [<a80000080837faac>] ksys_read+0x104/0x138\n[   34.289763] [<a80000080802b9cc>] syscall_common+0x44/0x68\n[   34.295187]\n[   34.296689] Code: f84000cf  02209825  de020010 <dc420000> d8400004  02002825  0040f809  02802025  f84000c3\n[   34.306504]\n[   34.308099] ---[ end trace 0000000000000000 ]---\n\nMy initial reproducer was the xdp-tools test suite. A standalone\nreproducer would be an lld/scd loop that, when the read is reordered by\nthe CPU, triggers a fault. We can achieve this from userspace by\nstressing an anonymous pipe, which uses a mutex. Program used:\n\n\t// SPDX-License-Identifier: GPL-2.0\n\t// pipe_race.c - reproducer for MIPS LL/SC reordering vs fs/pipe.c\n\t//\n\t// Two userspace processes on an anonymous pipe:\n\t//   parent  = writer: tight write() loop\n\t//   child   = reader: tight read() loop\n\n\t#define _GNU_SOURCE\n\t#include <assert.h>\n\t#include <errno.h>\n\t#include <sched.h>\n\t#include <signal.h>\n\t#include <stdio.h>\n\t#include <stdlib.h>\n\t#include <string.h>\n\t#include <sys/types.h>\n\t#include\n---truncated---","state":"PUBLISHED","assigner":"Linux","published_at":"2026-10-06 09:18:10","updated_at":"2026-10-06 09:18:10"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/bbc448c541ed90d52f9ec22f17394304e3bf170e","name":"https://git.kernel.org/stable/c/bbc448c541ed90d52f9ec22f17394304e3bf170e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3f017c2ca8c31a1e135dd87be647096866d6b196","name":"https://git.kernel.org/stable/c/3f017c2ca8c31a1e135dd87be647096866d6b196","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98228","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98228","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fbe0fae601b780622fcb7034a479fa161645b9f4 3f017c2ca8c31a1e135dd87be647096866d6b196 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fbe0fae601b780622fcb7034a479fa161645b9f4 bbc448c541ed90d52f9ec22f17394304e3bf170e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.11","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.11 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.8 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc4 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["arch/mips/Kconfig"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"3f017c2ca8c31a1e135dd87be647096866d6b196","status":"affected","version":"fbe0fae601b780622fcb7034a479fa161645b9f4","versionType":"git"},{"lessThan":"bbc448c541ed90d52f9ec22f17394304e3bf170e","status":"affected","version":"fbe0fae601b780622fcb7034a479fa161645b9f4","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["arch/mips/Kconfig"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.11"},{"lessThan":"6.11","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.8","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc4","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.8","versionStartIncluding":"6.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc4","versionStartIncluding":"6.11","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmips: select CONFIG_WEAK_REORDERING_BEYOND_LLSC from CONFIG_EYEQ\n\nOn I6500 CPU cores, lld and scd give no ordering guarantees (same as all\nother instructions). To respect the assumption that arch_cmpxchg() is\nfully ordered, we must inject sync instructions above and below our\nlld/scd loops using the already in place WEAK_REORDERING_BEYOND_LLSC\ninfrastructure.\n\nOtherwise, bad things can happen:\n\n[   34.054496] CPU 3 Unable to handle kernel paging request at virtual address 0000000000000000, epc == a80000080838e01c, ra == a80000080838dfc4\n[   34.054559] Oops[#1]:\n[   34.069561] CPU: 3 UID: 0 PID: 170 Comm: pipe_race Not tainted 7.2.0-rc6-01553-gb73c35220968-dirty #103 VOLUNTARY\n[   34.079932] Hardware name: Mobile EyeQ5 MP5 Evaluation board\n[   34.085592] $ 0   : 0000000000000000 0000000000000001 0000000000000000 0000000000000000\n[   34.093616] $ 4   : a800000808ee2618 000000000b7a879d 0000000000001000 0000000000000000\n[   34.101638] $ 8   : 0000000000e3f2c9 0000000000000000 a800000808a2a9f8 0000000000000000\n[   34.109660] $12   : a8000008139ffcd8 ffffffff84080018 a80000080837fae0 7878787878787878\n[   34.117682] $16   : a800000807e82940 0000000000001000 0000000000000000 0000000000000000\n[   34.125704] $20   : a800000802920e00 a8000008139ffdf8 a800000802649400 0000000000e3f2c9\n[   34.133726] $24   : 0000000000000006 00000001200406e0\n[   34.141783] $28   : a8000008139fc000 a8000008139ffd10 0000000000e3f2c8 a80000080838dfc4\n[   34.149837] epc   : a80000080838e01c anon_pipe_read+0xd4/0x428\n[   34.155697] ra    : a80000080838dfc4 anon_pipe_read+0x7c/0x428\n[   34.161549] Status: 140000e3  KX SX UX KERNEL EXL IE\n[   34.166551] Cause : 40800408 (ExcCode 02)\n[   34.170574] BadVA : 0000000000000000\n[   34.174161] PrId  : 0001b028 (MIPS I6500)\n[   34.178183] Process pipe_race (pid: 170, threadinfo=000000005ca35720, task=00000000e1013890, tls=000000014ebbb780)\n[   34.188568] Stack : a800000802649400 0000000000000000 0000000000000000 a8000008139ffdd0\n[   34.196623]\t 0000000000000fba a800000808ee0000 0000000000000001 a8000008130c3e80\n[   34.204676]\t a8000008080d1280 a8000008139ffd58 a8000008139ffd58 1dbd2b22ea1dd500\n[   34.212729]\t a800000802649400 a800000808ee0000 ffffffffffffffea 0000000000000001\n[   34.220783]\t 0000000000001000 0000000000000000 00000001200ae518 ffffffffffffffff\n[   34.228836]\t 000000fffbe0e530 a80000080837edf4 000000fffbe0e530 0000000000000000\n[   34.236890]\t 0000000000000000 0000000000000000 000000014ebb55a0 0000000000001000\n[   34.244943]\t 0000000000000001 a800000802649400 0000000000000000 0000000000000000\n[   34.252996]\t 0000000000000000 0000400400000000 0000000000000000 1dbd2b22ea1dd500\n[   34.261049]\t 00000000140000e3 a800000802649400 a800000802649400 a800000808ee0000\n[   34.269103]\t ...\n[   34.271568] Call Trace:\n[   34.274026] [<a80000080838e01c>] anon_pipe_read+0xd4/0x428\n[   34.279533] [<a80000080837edf4>] vfs_read+0x25c/0x318\n[   34.284607] [<a80000080837faac>] ksys_read+0x104/0x138\n[   34.289763] [<a80000080802b9cc>] syscall_common+0x44/0x68\n[   34.295187]\n[   34.296689] Code: f84000cf  02209825  de020010 <dc420000> d8400004  02002825  0040f809  02802025  f84000c3\n[   34.306504]\n[   34.308099] ---[ end trace 0000000000000000 ]---\n\nMy initial reproducer was the xdp-tools test suite. A standalone\nreproducer would be an lld/scd loop that, when the read is reordered by\nthe CPU, triggers a fault. We can achieve this from userspace by\nstressing an anonymous pipe, which uses a mutex. Program used:\n\n\t// SPDX-License-Identifier: GPL-2.0\n\t// pipe_race.c - reproducer for MIPS LL/SC reordering vs fs/pipe.c\n\t//\n\t// Two userspace processes on an anonymous pipe:\n\t//   parent  = writer: tight write() loop\n\t//   child   = reader: tight read() loop\n\n\t#define _GNU_SOURCE\n\t#include <assert.h>\n\t#include <errno.h>\n\t#include <sched.h>\n\t#include <signal.h>\n\t#include <stdio.h>\n\t#include <stdlib.h>\n\t#include <string.h>\n\t#include <sys/types.h>\n\t#include\n---truncated---"}],"providerMetadata":{"dateUpdated":"2026-10-06T08:45:03.154Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/3f017c2ca8c31a1e135dd87be647096866d6b196"},{"url":"https://git.kernel.org/stable/c/bbc448c541ed90d52f9ec22f17394304e3bf170e"}],"title":"mips: select CONFIG_WEAK_REORDERING_BEYOND_LLSC from CONFIG_EYEQ","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-98228","datePublished":"2026-10-06T08:45:03.154Z","dateReserved":"2026-09-25T10:25:14.328Z","dateUpdated":"2026-10-06T08:45:03.154Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-06 09:18:10","lastModifiedDate":"2026-10-06 09:18:10","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"98228","Ordinal":"1","Title":"mips: select CONFIG_WEAK_REORDERING_BEYOND_LLSC from CONFIG_EYEQ","CVE":"CVE-2026-98228","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"98228","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nmips: select CONFIG_WEAK_REORDERING_BEYOND_LLSC from CONFIG_EYEQ\n\nOn I6500 CPU cores, lld and scd give no ordering guarantees (same as all\nother instructions). To respect the assumption that arch_cmpxchg() is\nfully ordered, we must inject sync instructions above and below our\nlld/scd loops using the already in place WEAK_REORDERING_BEYOND_LLSC\ninfrastructure.\n\nOtherwise, bad things can happen:\n\n[   34.054496] CPU 3 Unable to handle kernel paging request at virtual address 0000000000000000, epc == a80000080838e01c, ra == a80000080838dfc4\n[   34.054559] Oops[#1]:\n[   34.069561] CPU: 3 UID: 0 PID: 170 Comm: pipe_race Not tainted 7.2.0-rc6-01553-gb73c35220968-dirty #103 VOLUNTARY\n[   34.079932] Hardware name: Mobile EyeQ5 MP5 Evaluation board\n[   34.085592] $ 0   : 0000000000000000 0000000000000001 0000000000000000 0000000000000000\n[   34.093616] $ 4   : a800000808ee2618 000000000b7a879d 0000000000001000 0000000000000000\n[   34.101638] $ 8   : 0000000000e3f2c9 0000000000000000 a800000808a2a9f8 0000000000000000\n[   34.109660] $12   : a8000008139ffcd8 ffffffff84080018 a80000080837fae0 7878787878787878\n[   34.117682] $16   : a800000807e82940 0000000000001000 0000000000000000 0000000000000000\n[   34.125704] $20   : a800000802920e00 a8000008139ffdf8 a800000802649400 0000000000e3f2c9\n[   34.133726] $24   : 0000000000000006 00000001200406e0\n[   34.141783] $28   : a8000008139fc000 a8000008139ffd10 0000000000e3f2c8 a80000080838dfc4\n[   34.149837] epc   : a80000080838e01c anon_pipe_read+0xd4/0x428\n[   34.155697] ra    : a80000080838dfc4 anon_pipe_read+0x7c/0x428\n[   34.161549] Status: 140000e3  KX SX UX KERNEL EXL IE\n[   34.166551] Cause : 40800408 (ExcCode 02)\n[   34.170574] BadVA : 0000000000000000\n[   34.174161] PrId  : 0001b028 (MIPS I6500)\n[   34.178183] Process pipe_race (pid: 170, threadinfo=000000005ca35720, task=00000000e1013890, tls=000000014ebbb780)\n[   34.188568] Stack : a800000802649400 0000000000000000 0000000000000000 a8000008139ffdd0\n[   34.196623]\t 0000000000000fba a800000808ee0000 0000000000000001 a8000008130c3e80\n[   34.204676]\t a8000008080d1280 a8000008139ffd58 a8000008139ffd58 1dbd2b22ea1dd500\n[   34.212729]\t a800000802649400 a800000808ee0000 ffffffffffffffea 0000000000000001\n[   34.220783]\t 0000000000001000 0000000000000000 00000001200ae518 ffffffffffffffff\n[   34.228836]\t 000000fffbe0e530 a80000080837edf4 000000fffbe0e530 0000000000000000\n[   34.236890]\t 0000000000000000 0000000000000000 000000014ebb55a0 0000000000001000\n[   34.244943]\t 0000000000000001 a800000802649400 0000000000000000 0000000000000000\n[   34.252996]\t 0000000000000000 0000400400000000 0000000000000000 1dbd2b22ea1dd500\n[   34.261049]\t 00000000140000e3 a800000802649400 a800000802649400 a800000808ee0000\n[   34.269103]\t ...\n[   34.271568] Call Trace:\n[   34.274026] [<a80000080838e01c>] anon_pipe_read+0xd4/0x428\n[   34.279533] [<a80000080837edf4>] vfs_read+0x25c/0x318\n[   34.284607] [<a80000080837faac>] ksys_read+0x104/0x138\n[   34.289763] [<a80000080802b9cc>] syscall_common+0x44/0x68\n[   34.295187]\n[   34.296689] Code: f84000cf  02209825  de020010 <dc420000> d8400004  02002825  0040f809  02802025  f84000c3\n[   34.306504]\n[   34.308099] ---[ end trace 0000000000000000 ]---\n\nMy initial reproducer was the xdp-tools test suite. A standalone\nreproducer would be an lld/scd loop that, when the read is reordered by\nthe CPU, triggers a fault. We can achieve this from userspace by\nstressing an anonymous pipe, which uses a mutex. Program used:\n\n\t// SPDX-License-Identifier: GPL-2.0\n\t// pipe_race.c - reproducer for MIPS LL/SC reordering vs fs/pipe.c\n\t//\n\t// Two userspace processes on an anonymous pipe:\n\t//   parent  = writer: tight write() loop\n\t//   child   = reader: tight read() loop\n\n\t#define _GNU_SOURCE\n\t#include <assert.h>\n\t#include <errno.h>\n\t#include <sched.h>\n\t#include <signal.h>\n\t#include <stdio.h>\n\t#include <stdlib.h>\n\t#include <string.h>\n\t#include <sys/types.h>\n\t#include\n---truncated---","Type":"Description","Title":"mips: select CONFIG_WEAK_REORDERING_BEYOND_LLSC from CONFIG_EYEQ"}]}}}