In the Linux kernel, the following vulnerability has been resolved:
NFC: nci: Add bounds checking in ncihcicreate_pipe()
The "pipe" variable is a u8 which comes from the network. If it's more than 127, then it results in memory corruption in the caller, ncihciconnect_gate().
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@59c7ed20217c0939862fbf8145bc49d5b3a13f4f",
"id": "CVE-2025-21735-0bb8563f",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "net/nfc/nci/hci.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"7495916449040421532595485096363458656",
"80243957129975606974133208008870283191",
"289638603527090545540280934634506583246"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@172cdfc3a5ea20289c58fb73dadc6fd4a8784a4e",
"id": "CVE-2025-21735-3e4befe9",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "nci_hci_create_pipe",
"file": "net/nfc/nci/hci.c"
},
"signature_type": "Function",
"digest": {
"length": 558.0,
"function_hash": "260507382246091027077753103123574353967"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@110b43ef05342d5a11284cc8b21582b698b4ef1c",
"id": "CVE-2025-21735-620aca2b",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "nci_hci_create_pipe",
"file": "net/nfc/nci/hci.c"
},
"signature_type": "Function",
"digest": {
"length": 558.0,
"function_hash": "260507382246091027077753103123574353967"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@10b3f947b609713e04022101f492d288a014ddfa",
"id": "CVE-2025-21735-71357478",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "net/nfc/nci/hci.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"7495916449040421532595485096363458656",
"80243957129975606974133208008870283191",
"289638603527090545540280934634506583246"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@59c7ed20217c0939862fbf8145bc49d5b3a13f4f",
"id": "CVE-2025-21735-7b8a896a",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "nci_hci_create_pipe",
"file": "net/nfc/nci/hci.c"
},
"signature_type": "Function",
"digest": {
"length": 558.0,
"function_hash": "260507382246091027077753103123574353967"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@172cdfc3a5ea20289c58fb73dadc6fd4a8784a4e",
"id": "CVE-2025-21735-807223b5",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "net/nfc/nci/hci.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"7495916449040421532595485096363458656",
"80243957129975606974133208008870283191",
"289638603527090545540280934634506583246"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@110b43ef05342d5a11284cc8b21582b698b4ef1c",
"id": "CVE-2025-21735-83fb84a7",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "net/nfc/nci/hci.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"7495916449040421532595485096363458656",
"80243957129975606974133208008870283191",
"289638603527090545540280934634506583246"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d5a461c315e5ff92657f84d8ba50caa5abf5c22a",
"id": "CVE-2025-21735-8dbdf858",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "net/nfc/nci/hci.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"7495916449040421532595485096363458656",
"80243957129975606974133208008870283191",
"289638603527090545540280934634506583246"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@674e17c5933779a8bf5c15d596fdfcb5ccdebbc2",
"id": "CVE-2025-21735-90f03b5a",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "net/nfc/nci/hci.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"7495916449040421532595485096363458656",
"80243957129975606974133208008870283191",
"289638603527090545540280934634506583246"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@10b3f947b609713e04022101f492d288a014ddfa",
"id": "CVE-2025-21735-90fdd348",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "nci_hci_create_pipe",
"file": "net/nfc/nci/hci.c"
},
"signature_type": "Function",
"digest": {
"length": 558.0,
"function_hash": "260507382246091027077753103123574353967"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2ae4bade5a64d126bd18eb66bd419005c5550218",
"id": "CVE-2025-21735-9e916474",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "net/nfc/nci/hci.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"7495916449040421532595485096363458656",
"80243957129975606974133208008870283191",
"289638603527090545540280934634506583246"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d5a461c315e5ff92657f84d8ba50caa5abf5c22a",
"id": "CVE-2025-21735-a2d86047",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "nci_hci_create_pipe",
"file": "net/nfc/nci/hci.c"
},
"signature_type": "Function",
"digest": {
"length": 558.0,
"function_hash": "260507382246091027077753103123574353967"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bd249109d266f1d52548c46634a15b71656e0d44",
"id": "CVE-2025-21735-af232a2c",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "nci_hci_create_pipe",
"file": "net/nfc/nci/hci.c"
},
"signature_type": "Function",
"digest": {
"length": 552.0,
"function_hash": "138323672735510056548153963344246068648"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@674e17c5933779a8bf5c15d596fdfcb5ccdebbc2",
"id": "CVE-2025-21735-b3934848",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "nci_hci_create_pipe",
"file": "net/nfc/nci/hci.c"
},
"signature_type": "Function",
"digest": {
"length": 552.0,
"function_hash": "138323672735510056548153963344246068648"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bd249109d266f1d52548c46634a15b71656e0d44",
"id": "CVE-2025-21735-f25c7aea",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "net/nfc/nci/hci.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"7495916449040421532595485096363458656",
"80243957129975606974133208008870283191",
"289638603527090545540280934634506583246"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2ae4bade5a64d126bd18eb66bd419005c5550218",
"id": "CVE-2025-21735-fe7b833e",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "nci_hci_create_pipe",
"file": "net/nfc/nci/hci.c"
},
"signature_type": "Function",
"digest": {
"length": 558.0,
"function_hash": "260507382246091027077753103123574353967"
}
}
]