# CVE-2025-68335: comedi: pcl818: fix null-ptr-deref in pcl818\_ai\_cancel()

> 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-22T16:14:12.614Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= 00aba6e7b5653a6607238ecdab7172318059d984, \< b2a5b172dc05be6c4f2c5542c1bbc6b14d60ff16; \>= 00aba6e7b5653a6607238ecdab7172318059d984, \< 935ad4b3c325c24fff2c702da403283025ffc722; \>= 00aba6e7b5653a6607238ecdab7172318059d984, \< 88d99ca5adbd01ff088f5fb2ddeba5755e085e52; \>= 00aba6e7b5653a6607238ecdab7172318059d984, \< 5caa40e7c6a43e08e3574f990865127705c22861; \>= 00aba6e7b5653a6607238ecdab7172318059d984, \< d948c53dec36dafe182631457597c49c1f1df5ea; \>= 00aba6e7b5653a6607238ecdab7172318059d984, \< 877adccfacb32687b90714a27cfb09f444fdfa16; \>= 00aba6e7b5653a6607238ecdab7172318059d984, \< a51f025b5038abd3d22eed2ede4cd46793d89565
- Anyone running Linux 3.15

## Description

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

comedi: pcl818: fix null-ptr-deref in pcl818\_ai\_cancel()

Syzbot identified an issue \[1\] in pcl818\_ai\_cancel(), which stems from
the fact that in case of early device detach via pcl818\_detach(),
subdevice dev-\>read\_subdev may not have initialized its pointer to
&struct comedi\_async as intended. Thus, any such dereferencing of
&s-\>async-\>cmd will lead to general protection fault and kernel crash.

Mitigate this problem by removing a call to pcl818\_ai\_cancel() from
pcl818\_detach() altogether. This way, if the subdevice setups its
support for async commands, everything async-related will be
handled via subdevice's own -\>cancel() function in
comedi\_device\_detach\_locked() even before pcl818\_detach(). If no
support for asynchronous commands is provided, there is no need
to cancel anything either.

\[1\] Syzbot crash:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 \[\#1\] SMP KASAN PTI
KASAN: null-ptr-deref in range \[0x0000000000000028-0x000000000000002f\]
CPU: 1 UID: 0 PID: 6050 Comm: syz.0.18 Not tainted syzkaller \#0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:pcl818\_ai\_cancel+0x69/0x3f0 drivers/comedi/drivers/pcl818.c:762
...
Call Trace:
 \<TASK\>
 pcl818\_detach+0x66/0xd0 drivers/comedi/drivers/pcl818.c:1115
 comedi\_device\_detach\_locked+0x178/0x750 drivers/comedi/drivers.c:207
 do\_devconfig\_ioctl drivers/comedi/comedi\_fops.c:848 \[inline\]
 comedi\_unlocked\_ioctl+0xcde/0x1020 drivers/comedi/comedi\_fops.c:2178
 vfs\_ioctl fs/ioctl.c:51 \[inline\]
 \_\_do\_sys\_ioctl fs/ioctl.c:597 \[inline\]
...

## Affected and fixed versions

- Linux: \>= 00aba6e7b5653a6607238ecdab7172318059d984, \< b2a5b172dc05be6c4f2c5542c1bbc6b14d60ff16; \>= 00aba6e7b5653a6607238ecdab7172318059d984, \< 935ad4b3c325c24fff2c702da403283025ffc722; \>= 00aba6e7b5653a6607238ecdab7172318059d984, \< 88d99ca5adbd01ff088f5fb2ddeba5755e085e52; \>= 00aba6e7b5653a6607238ecdab7172318059d984, \< 5caa40e7c6a43e08e3574f990865127705c22861; \>= 00aba6e7b5653a6607238ecdab7172318059d984, \< d948c53dec36dafe182631457597c49c1f1df5ea; \>= 00aba6e7b5653a6607238ecdab7172318059d984, \< 877adccfacb32687b90714a27cfb09f444fdfa16; \>= 00aba6e7b5653a6607238ecdab7172318059d984, \< a51f025b5038abd3d22eed2ede4cd46793d89565 (cvelist)
- Linux: 3.15 (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-68335. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68335.md
Affected: Linux >= 00aba6e7b5653a6607238ecdab7172318059d984, < b2a5b172dc05be6c4f2c5542c1bbc6b14d60ff16; >= 00aba6e7b5653a6607238ecdab7172318059d984, < 935ad4b3c325c24fff2c702da403283025ffc722; >= 00aba6e7b5653a6607238ecdab7172318059d984, < 88d99ca5adbd01ff088f5fb2ddeba5755e085e52; >= 00aba6e7b5653a6607238ec…
Fixed in: Linux 935ad4b3c325c24fff2c702da403283025ffc722, Linux 88d99ca5adbd01ff088f5fb2ddeba5755e085e52, Linux 5caa40e7c6a43e08e3574f990865127705c22861, Linux 877adccfacb32687b90714a27cfb09f444fdfa16

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-68335 being exploited?

There is no confirmed exploitation: CVE-2025-68335 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-68335?

It has no CVSS score yet. Unknown.

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

Linux \>= 00aba6e7b5653a6607238ecdab7172318059d984, \< b2a5b172dc05be6c4f2c5542c1bbc6b14d60ff16; \>= 00aba6e7b5653a6607238ecdab7172318059d984, \< 935ad4b3c325c24fff2c702da403283025ffc722; \>= 00aba6e7b5653a6607238ecdab7172318059d984, \< 88d99ca5adbd01ff088f5fb2ddeba5755e085e52; \>= 00aba6e7b5653a6607238ecdab7172318059d984, \< 5caa40e7c6a43e08e3574f990865127705c22861; \>= 00aba6e7b5653a6607238ecdab7172318059d984, \< d948c53dec36dafe182631457597c49c1f1df5ea; \>= 00aba6e7b5653a6607238ecdab7172318059d984, \< 877adccfacb32687b90714a27cfb09f444fdfa16; \>= 00aba6e7b5653a6607238ecdab7172318059d984, \< a51f025b5038abd3d22eed2ede4cd46793d89565; Linux 3.15.

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

Yes. Fixed in Linux 935ad4b3c325c24fff2c702da403283025ffc722, Linux 88d99ca5adbd01ff088f5fb2ddeba5755e085e52, Linux 5caa40e7c6a43e08e3574f990865127705c22861, Linux 877adccfacb32687b90714a27cfb09f444fdfa16. No fix listed yet: follow the vendor advisory.

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

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/b2a5b172dc05be6c4f2c5542c1bbc6b14d60ff16>
- other: <https://git.kernel.org/stable/c/935ad4b3c325c24fff2c702da403283025ffc722>
- other: <https://git.kernel.org/stable/c/88d99ca5adbd01ff088f5fb2ddeba5755e085e52>
- other: <https://git.kernel.org/stable/c/5caa40e7c6a43e08e3574f990865127705c22861>
- other: <https://git.kernel.org/stable/c/d948c53dec36dafe182631457597c49c1f1df5ea>
- other: <https://git.kernel.org/stable/c/877adccfacb32687b90714a27cfb09f444fdfa16>
- other: <https://git.kernel.org/stable/c/a51f025b5038abd3d22eed2ede4cd46793d89565>

## 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-68335>

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