CVE & CISA-KEV Catalog

CVE-2025-68299

UNSCORED

Description

In the Linux kernel, the following vulnerability has been resolved: afs: Fix delayed allocation of a cell's anonymous key The allocation of a cell's anonymous key is done in a background thread along with other cell setup such as doing a DNS upcall. In the reported bug, this is triggered by afs_parse_source() parsing the device name given to mount() and calling afs_lookup_cell() with the name of the cell. The normal key lookup then tries to use the key description on the anonymous authentication key as the reference for request_key() - but it may not yet be set and so an oops can happen. This has been made more likely to happen by the fix for dynamic lookup failure. Fix this by firstly allocating a reference name and attaching it to the afs_cell record when the record is created. It can share the memory allocation with the cell name (unfortunately it can't just overlap the cell name by prepending it with "afs@" as the cell name already has a '.' prepended for other purposes). This reference name is then passed to request_key(). Secondly, the anon key is now allocated on demand at the point a key is requested in afs_request_key() if it is not already allocated. A mutex is used to prevent multiple allocation for a cell. Thirdly, make afs_request_key_rcu() return NULL if the anonymous key isn't yet allocated (if we need it) and then the caller can return -ECHILD to drop out of RCU-mode and afs_request_key() can be called. Note that the anonymous key is kind of necessary to make the key lookup cache work as that doesn't currently cache a negative lookup, but it's probably worth some investigation to see if NULL can be used instead.

How to fix

Remediation Available
linuxDebian
Fixed in:6.17.11-1CVE-2025-68299
linuxUbuntu
Fixed in:6.17.0-19.19USN-8094-1
linux-awsUbuntu
Fixed in:6.17.0-1009.9USN-8094-1
linux-aws-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
linux-azureUbuntu
Fixed in:6.17.0-1010.10USN-8094-4
linux-azure-6.17Ubuntu
Fixed in:6.17.0-1010.10~24.04.1USN-8094-4
linux-gcpUbuntu
Fixed in:6.17.0-1009.9USN-8094-1
linux-gcp-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
linux-hwe-6.17Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
linux-image-6.17.0-1008-realtimeUbuntu
Fixed in:6.17.0-1008.9~24.04.1USN-8094-3
Fixed in:6.17.0-1008.9USN-8094-2
linux-image-6.17.0-1009-awsUbuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-6.17.0-1009-aws-64kUbuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-6.17.0-1009-gcpUbuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-6.17.0-1009-gcp-64kUbuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-6.17.0-1009-oracleUbuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-6.17.0-1009-oracle-64kUbuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-6.17.0-1010-azureUbuntu
Fixed in:6.17.0-1010.10~24.04.1USN-8094-4
Fixed in:6.17.0-1010.10USN-8094-4
linux-image-6.17.0-1010-raspiUbuntu
Fixed in:6.17.0-1010.10USN-8094-5
linux-image-6.17.0-1017-oemUbuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-6.17.0-19-genericUbuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
Fixed in:6.17.0-19.19USN-8094-1
linux-image-6.17.0-19-generic-64kUbuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
Fixed in:6.17.0-19.19USN-8094-1
linux-image-awsUbuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-aws-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-aws-64kUbuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-aws-64k-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-azureUbuntu
Fixed in:6.17.0-1010.10~24.04.1USN-8094-4
Fixed in:6.17.0-1010.10USN-8094-4
linux-image-azure-6.17Ubuntu
Fixed in:6.17.0-1010.10~24.04.1USN-8094-4
Fixed in:6.17.0-1010.10USN-8094-4
linux-image-gcpUbuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-gcp-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-gcp-64kUbuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-gcp-64k-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-genericUbuntu
Fixed in:6.17.0-19.19USN-8094-1
linux-image-generic-6.17Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
Fixed in:6.17.0-19.19USN-8094-1
linux-image-generic-64kUbuntu
Fixed in:6.17.0-19.19USN-8094-1
linux-image-generic-64k-6.17Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
Fixed in:6.17.0-19.19USN-8094-1
linux-image-generic-64k-hwe-24.04Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
linux-image-generic-hwe-24.04Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
linux-image-oem-24.04Ubuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-oem-24.04aUbuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-oem-24.04bUbuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-oem-24.04cUbuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-oem-24.04dUbuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-oem-6.17Ubuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-oracleUbuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-oracle-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-oracle-64kUbuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-oracle-64k-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-raspiUbuntu
Fixed in:6.17.0-1010.10USN-8094-5
linux-image-raspi-6.17Ubuntu
Fixed in:6.17.0-1010.10USN-8094-5
linux-image-realtimeUbuntu
Fixed in:6.17.0-1008.9USN-8094-2
linux-image-realtime-6.17Ubuntu
Fixed in:6.17.0-1008.9~24.04.1USN-8094-3
Fixed in:6.17.0-1008.9USN-8094-2
linux-image-realtime-hwe-24.04Ubuntu
Fixed in:6.17.0-1008.9~24.04.1USN-8094-3
Fixed in:6.17.0-1008.9USN-8094-2
linux-image-virtualUbuntu
Fixed in:6.17.0-19.19USN-8094-1
linux-image-virtual-6.17Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
Fixed in:6.17.0-19.19USN-8094-1
linux-image-virtual-hwe-24.04Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
linux-oem-6.17Ubuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-oracleUbuntu
Fixed in:6.17.0-1009.9USN-8094-1
linux-oracle-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
linux-raspiUbuntu
Fixed in:6.17.0-1010.10USN-8094-5
linux-realtimeUbuntu
Fixed in:6.17.0-1008.9USN-8094-2
linux-realtime-6.17Ubuntu
Fixed in:6.17.0-1008.9~24.04.1USN-8094-3

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3.1 Vector

No CVSS vector data available.

Exploit Intelligence

0.18%probability of exploitation in 30 days
7thpercentile

Low risk: more likely to be exploited than 7% of all known CVEs.

References

Embed a live status badge for CVE-2025-68299
CVE-2025-68299 severity badge

Markdown

[![CVE-2025-68299](https://tridentstack.com/cve/badge/CVE-2025-68299.svg)](https://tridentstack.com/cve/CVE-2025-68299)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-68299"><img src="https://tridentstack.com/cve/badge/CVE-2025-68299.svg" alt="CVE-2025-68299"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-12-18.