bnxt_en: Mask the bd_cnt field in the TX BD properly
In the Linux kernel, the following vulnerability has been resolved: bnxt_en: Mask the bd_cnt field in the TX BD properly The bd_cnt field in the TX BD specifies the total number of BDs for the TX packet. The bd_cnt field has 5 bits and the maximum number supported is 32 with the value 0. CONFIG_MAX_SKB_FRAGS can be modified and the total number of SKB fragments can approach or exceed the maximum supported by the chip. Add a macro to properly mask the bd_cnt field so that the value 32 will be properly masked and set to 0 in the bd_cnd field. Without this patch, the out-of-range bd_cnt value will corrupt the TX BD and may cause TX timeout. The next patch will check for values exceeding 32.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.109, 6.14.2
- CVEs
- CVE-2025-22108
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 17:57 UTC · Revision 1
Source evidence
bnxt_en: Mask the bd_cnt field in the TX BD properly
core-osv · Original sourcePublished 16 Apr 2025, 14:12 UTC
In the Linux kernel, the following vulnerability has been resolved: bnxt_en: Mask the bd_cnt field in the TX BD properly The bd_cnt field in the TX BD specifies the total number of BDs for the TX packet. The bd_cnt field has 5 bits and the maximum number supported is 32 with the value 0. CONFIG_MAX_SKB_FRAGS can be modified and the total number of SKB fragments can approach or exceed the maximum supported by the chip. Add a macro to properly mask the bd_cnt field so that the value 32 will be properly masked and set to 0 in the bd_cnd field. Without this patch, the out-of-range bd_cnt value will corrupt the TX BD and may cause TX timeout. The next patch will check for values exceeding 32.
osv:CVE-2025-22108
Kernel
Fixed versions: 6.12.109, 6.14.2
Complete source record
{
"id": "2d6cbfc1941c0c026c763fa3b502ffff9f088b8ce1b619de98e77b01134069db",
"url": "https://osv.dev/vulnerability/CVE-2025-22108",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "bnxt_en: Mask the bd_cnt field in the TX BD properly",
"summary": "In the Linux kernel, the following vulnerability has been resolved: bnxt_en: Mask the bd_cnt field in the TX BD properly The bd_cnt field in the TX BD specifies the total number of BDs for the TX packet. The bd_cnt field has 5 bits and the maximum number supported is 32 with the value 0. CONFIG_MAX_SKB_FRAGS can be modified and the total number of SKB fragments can approach or exceed the maximum supported by the chip. Add a macro to properly mask the bd_cnt field so that the value 32 will be properly masked and set to 0 in the bd_cnd field. Without this patch, the out-of-range bd_cnt value will corrupt the TX BD and may cause TX timeout. The next patch will check for values exceeding 32.",
"evidence": "osv:CVE-2025-22108",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.109",
"evidence": "/affected/1/ranges"
},
{
"value": "6.14.2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2025-22108",
"aliases": [
"CVE-2025-22108"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "3948b05950fdd64002a5f182c65ba5cf2d53cf71"
},
{
"fixed": "9ee185e0f15594017a6f1a191ebe6630cfea5f74"
},
{
"fixed": "f60b41b815826f15c4d0323f923f398c423178d0"
},
{
"fixed": "107b25db61122d8f990987895c2912927b8b6e3f"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-22108.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.4.0"
},
{
"fixed": "6.12.109"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.14.2"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-22108.json"
}
}
],
"modified": "2026-10-28T02:30:44.878491622Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/107b25db61122d8f990987895c2912927b8b6e3f",
"https://git.kernel.org/stable/c/9ee185e0f15594017a6f1a191ebe6630cfea5f74",
"https://git.kernel.org/stable/c/f60b41b815826f15c4d0323f923f398c423178d0",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22108.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-22108",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22108.json"
}
},
"related_cves": [
{
"value": "CVE-2025-22108",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 512605,
"published_at": "2025-04-16T14:12:55.737+00:00"
}