CVE-2025-38416
NFC: nci: uart: Set tty->disc_data only in success path
Reported by linux · Published July 25, 2025
In the Linux kernel, the following vulnerability has been resolved: NFC: nci: uart: Set tty->disc_data only in success path Setting tty->disc_data before opening the NCI device means we need to clean it up on error paths. This also opens some short window if device starts sending data, even before NCIUARTSETDRIVER IOCTL succeeded (broken hardware?). Close the window by exposing tty->disc_data only on the success path, when opening of the NCI device and try_module_get() succeeds. The code differs in error path in one aspect: tty->disc_data won't be ever assigned thus NULL-ified. This however should not be relevant difference, because of "tty->disc_data=NULL" in nci_uart_tty_open().
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 9961127d4bce6325e9a0b0fb105e0c85a6c62cb7, 9961127d4bce6325e9a0b0fb105e0c85a6c62cb7, 9961127d4bce6325e9a0b0fb105e0c85a6c62cb7 |
| Linux | Linux | 4.2, 0, 5.4.295 |
| linux | linux_kernel | 4.2, 4.2, 4.2 |
| Linux | Linux | 9961127d4bce6325e9a0b0fb105e0c85a6c62cb7, 9961127d4bce6325e9a0b0fb105e0c85a6c62cb7, 9961127d4bce6325e9a0b0fb105e0c85a6c62cb7 |
Timeline
- Jul 25, 2025 CVE Published
- Jul 26, 2025 EPSS Score (30 in total, the first dated here)
- Oct 12, 2025 PoC Published (16 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (243 in total, the first dated here)
- Mar 29, 2026 Security Advisory (260 in total, the first dated here)
- Jun 9, 2026 Coalition ESS Score
- Oct 7, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-38416
vulnetix vdb fixes CVE-2025-38416
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38416/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart