# CVE-2025-68229: scsi: target: tcm\_loop: Fix segfault in tcm\_loop\_tpg\_address\_show()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-12-16T13:57:21.835Z
- **Modified:** 2026-10-14T13:10:00.187Z

## Who should check

- Anyone running Linux \>= 2628b352c3d4905adf8129ea50900bd980b6ccef, \< 63f511d3855f7f4b35dd63dbc58fc3d935a81268; \>= 2628b352c3d4905adf8129ea50900bd980b6ccef, \< 3d8c517f6eb27e47b1a198e05f8023038329b40b; \>= 2628b352c3d4905adf8129ea50900bd980b6ccef, \< f449a1edd7a13bb025aaf9342ea6f8bf92684bbf; \>= 2628b352c3d4905adf8129ea50900bd980b6ccef, \< 1c9ba455b5073253ceaadae4859546e38e8261fe; \>= 2628b352c3d4905adf8129ea50900bd980b6ccef, \< a6ef60898ddaf1414592ce3e5b0d94276d631663; \>= 2628b352c3d4905adf8129ea50900bd980b6ccef, \< 72e8831079266749a7023618a0de2f289a9dced6; \>= 2628b352c3d4905adf8129ea50900bd980b6ccef, \< 13aff3b8a7184281b134698704d6c06863a8361b; \>= 2628b352c3d4905adf8129ea50900bd980b6ccef, \< e6965188f84a7883e6a0d3448e86b0cf29b24dfc
- Anyone running Linux 4.5

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: target: tcm\_loop: Fix segfault in tcm\_loop\_tpg\_address\_show()

If the allocation of tl\_hba-\>sh fails in tcm\_loop\_driver\_probe() and we
attempt to dereference it in tcm\_loop\_tpg\_address\_show() we will get a
segfault, see below for an example. So, check tl\_hba-\>sh before
dereferencing it.

  Unable to allocate struct scsi\_host
  BUG: kernel NULL pointer dereference, address: 0000000000000194
  \#PF: supervisor read access in kernel mode
  \#PF: error\_code(0x0000) - not-present page
  PGD 0 P4D 0
  Oops: 0000 \[\#1\] PREEMPT SMP NOPTI
  CPU: 1 PID: 8356 Comm: tokio-runtime-w Not tainted 6.6.104.2-4.azl3 \#1
  Hardware name: Microsoft Corporation Virtual Machine/Virtual Machine, BIOS Hyper-V UEFI Release v4.1 09/28/2024
  RIP: 0010:tcm\_loop\_tpg\_address\_show+0x2e/0x50 \[tcm\_loop\]
...
  Call Trace:
   \<TASK\>
   configfs\_read\_iter+0x12d/0x1d0 \[configfs\]
   vfs\_read+0x1b5/0x300
   ksys\_read+0x6f/0xf0
...

## Affected and fixed versions

- Linux: \>= 2628b352c3d4905adf8129ea50900bd980b6ccef, \< 63f511d3855f7f4b35dd63dbc58fc3d935a81268; \>= 2628b352c3d4905adf8129ea50900bd980b6ccef, \< 3d8c517f6eb27e47b1a198e05f8023038329b40b; \>= 2628b352c3d4905adf8129ea50900bd980b6ccef, \< f449a1edd7a13bb025aaf9342ea6f8bf92684bbf; \>= 2628b352c3d4905adf8129ea50900bd980b6ccef, \< 1c9ba455b5073253ceaadae4859546e38e8261fe; \>= 2628b352c3d4905adf8129ea50900bd980b6ccef, \< a6ef60898ddaf1414592ce3e5b0d94276d631663; \>= 2628b352c3d4905adf8129ea50900bd980b6ccef, \< 72e8831079266749a7023618a0de2f289a9dced6; \>= 2628b352c3d4905adf8129ea50900bd980b6ccef, \< 13aff3b8a7184281b134698704d6c06863a8361b; \>= 2628b352c3d4905adf8129ea50900bd980b6ccef, \< e6965188f84a7883e6a0d3448e86b0cf29b24dfc (cvelist)
- Linux: 4.5 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-68229.md
Affected: Linux >= 2628b352c3d4905adf8129ea50900bd980b6ccef, < 63f511d3855f7f4b35dd63dbc58fc3d935a81268; >= 2628b352c3d4905adf8129ea50900bd980b6ccef, < 3d8c517f6eb27e47b1a198e05f8023038329b40b; >= 2628b352c3d4905adf8129ea50900bd980b6ccef, < f449a1edd7a13bb025aaf9342ea6f8bf92684bbf; >= 2628b352c3d4905adf8129e…
Fixed in: Linux 63f511d3855f7f4b35dd63dbc58fc3d935a81268, Linux 3d8c517f6eb27e47b1a198e05f8023038329b40b, Linux 1c9ba455b5073253ceaadae4859546e38e8261fe, Linux 72e8831079266749a7023618a0de2f289a9dced6, Linux 13aff3b8a7184281b134698704d6c06863a8361b

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.
```

## FAQ

### Is CVE-2025-68229 being exploited?

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

### How serious is CVE-2025-68229?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-68229?

Linux \>= 2628b352c3d4905adf8129ea50900bd980b6ccef, \< 63f511d3855f7f4b35dd63dbc58fc3d935a81268; \>= 2628b352c3d4905adf8129ea50900bd980b6ccef, \< 3d8c517f6eb27e47b1a198e05f8023038329b40b; \>= 2628b352c3d4905adf8129ea50900bd980b6ccef, \< f449a1edd7a13bb025aaf9342ea6f8bf92684bbf; \>= 2628b352c3d4905adf8129ea50900bd980b6ccef, \< 1c9ba455b5073253ceaadae4859546e38e8261fe; \>= 2628b352c3d4905adf8129ea50900bd980b6ccef, \< a6ef60898ddaf1414592ce3e5b0d94276d631663; \>= 2628b352c3d4905adf8129ea50900bd980b6ccef, \< 72e8831079266749a7023618a0de2f289a9dced6; \>= 2628b352c3d4905adf8129ea50900bd980b6ccef, \< 13aff3b8a7184281b134698704d6c06863a8361b; \>= 2628b352c3d4905adf8129ea50900bd980b6ccef, \< e6965188f84a7883e6a0d3448e86b0cf29b24dfc; Linux 4.5.

### Is there a fix for CVE-2025-68229?

Yes. Fixed in Linux 63f511d3855f7f4b35dd63dbc58fc3d935a81268, Linux 3d8c517f6eb27e47b1a198e05f8023038329b40b, Linux 1c9ba455b5073253ceaadae4859546e38e8261fe, Linux 72e8831079266749a7023618a0de2f289a9dced6, Linux 13aff3b8a7184281b134698704d6c06863a8361b. No fix listed yet: follow the vendor advisory.

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

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.

## References

- other: <https://git.kernel.org/stable/c/63f511d3855f7f4b35dd63dbc58fc3d935a81268>
- other: <https://git.kernel.org/stable/c/3d8c517f6eb27e47b1a198e05f8023038329b40b>
- other: <https://git.kernel.org/stable/c/f449a1edd7a13bb025aaf9342ea6f8bf92684bbf>
- other: <https://git.kernel.org/stable/c/1c9ba455b5073253ceaadae4859546e38e8261fe>
- other: <https://git.kernel.org/stable/c/a6ef60898ddaf1414592ce3e5b0d94276d631663>
- other: <https://git.kernel.org/stable/c/72e8831079266749a7023618a0de2f289a9dced6>
- other: <https://git.kernel.org/stable/c/13aff3b8a7184281b134698704d6c06863a8361b>
- other: <https://git.kernel.org/stable/c/e6965188f84a7883e6a0d3448e86b0cf29b24dfc>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68229>

HTML: <https://flawdb.com/CVE-2025-68229> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68229>
