CVE-2026-74751

Critical

In the Linux kernel, the following vulnerability has been resolved: riscv: lib: Fix ZBB strnlen reading past count boundary The ZBB-optimized strnlen loop loads one word ahead before checking the aligned boundary: REG_L t1, SZREG(t0) // load next word addi t0, t0, SZREG // advance orc.b t1, t1 bgeu t0, t4, 4f // boundary check AFTER load where t4 = (s + count) & -SZREG. When s is aligned and count is a multiple of SZREG, t4 equals s + count and the loop loads a full word starting at exactly s + count. If s + count falls on a page boundary with the next page unmapped, this faults. Fix by computing the aligned boundary from the last valid byte (s + count - 1) instead of s + count. This makes the loop stop at the word containing the last valid byte rather than potentially loading the word after it. The count == 0 case is already handled by the beqz early exit. Also add a pre-loop guard (bgeu t0, t4) for the case where all valid bytes fit within the first word. With the adjusted boundary, t4 can equal t0, and entering the loop with stale register state from the first-word processing would produce incorrect results. The final minu clamp ensures the result is still correct when the last loaded word extends past s + count - 1 within the same aligned word.

Package Linux Kernel
Published 2026-08-26
Last modified 2026-08-27
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

9.4

out of 10
Critical
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
High
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H

Affected versions

Linux kernel versions 7.1 and later are affected. Fixed in 7.1.10, 7.2 and their respective stable series.

Affected from
≥ 7.1
Fixed in
✓ 7.1.10 7.1.x ✓ 7.2

Frequently asked questions

  • What is CVE-2026-74751?

    CVE-2026-74751 is a Critical severity Linux kernel vulnerability with a CVSS score of 9.4 out of 10 . It affects Linux kernel versions from 7.1 onward and has been patched in 7.1.10 and 7.2. CVE-2026-74751 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2026-74751?

    CVE-2026-74751 has a CVSS score of 9.4 out of 10, rated Critical severity (CVSS 3.1). The vector string is CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H .

  • Is there a patch available for CVE-2026-74751?

    Yes. CVE-2026-74751 has been patched. Fixed versions include 7.1.10 and 7.2. If you are running Linux kernel 7.1 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2026-74751 actively exploited?

    No. CVE-2026-74751 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.