net/mlx5e: Fix CT entry update leaks of modify header context
In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Fix CT entry update leaks of modify header context The cited commit allocates a new modify header to replace the old one when updating CT entry. But if failed to allocate a new one, eg. exceed the max number firmware can support, modify header will be an error pointer that will trigger a panic when deallocating it. And the old modify header point is copied to old attr. When the old attr is freed, the old modify header is lost. Fix it by restoring the old attr to attr when failed to allocate a new modify header context. So when the CT entry is freed, the right modify header context will be freed. And the panic of accessing error pointer is also fixed.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.10.4, 6.6.45
- CVEs
- CVE-2024-43864
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 23:11 UTC · Revision 1
Source evidence
net/mlx5e: Fix CT entry update leaks of modify header context
core-osv · Original sourcePublished 20 Aug 2024, 23:45 UTC
In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Fix CT entry update leaks of modify header context The cited commit allocates a new modify header to replace the old one when updating CT entry. But if failed to allocate a new one, eg. exceed the max number firmware can support, modify header will be an error pointer that will trigger a panic when deallocating it. And the old modify header point is copied to old attr. When the old attr is freed, the old modify header is lost. Fix it by restoring the old attr to attr when failed to allocate a new modify header context. So when the CT entry is freed, the right modify header context will be freed. And the panic of accessing error pointer is also fixed.
osv:CVE-2024-43864
Kernel
Fixed versions: 6.6.45, 6.10.4
Complete source record
{
"id": "f54a2a430546bfc65b5ea34b3eae213ba27b2387df46646946eda3e38e11a60d",
"url": "https://osv.dev/vulnerability/CVE-2024-43864",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "net/mlx5e: Fix CT entry update leaks of modify header context",
"summary": "In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Fix CT entry update leaks of modify header context The cited commit allocates a new modify header to replace the old one when updating CT entry. But if failed to allocate a new one, eg. exceed the max number firmware can support, modify header will be an error pointer that will trigger a panic when deallocating it. And the old modify header point is copied to old attr. When the old attr is freed, the old modify header is lost. Fix it by restoring the old attr to attr when failed to allocate a new modify header context. So when the CT entry is freed, the right modify header context will be freed. And the panic of accessing error pointer is also fixed.",
"evidence": "osv:CVE-2024-43864",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.6.45",
"evidence": "/affected/1/ranges"
},
{
"value": "6.10.4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "critical",
"structured": {
"id": "CVE-2024-43864",
"aliases": [
"CVE-2024-43864"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "94ceffb48eac7692677d8093dcde6965b70c4b35"
},
{
"fixed": "daab2cc17b6b6ab158566bba037e9551fd432b59"
},
{
"fixed": "89064d09c56b44c668509bf793c410484f63f5ad"
},
{
"fixed": "025f2b85a5e5a46df14ecf162c3c80a957a36d0b"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-43864.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.3.0"
},
{
"fixed": "6.6.45"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.10.4"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-43864.json"
}
}
],
"modified": "2026-10-28T02:30:40.700421162Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/025f2b85a5e5a46df14ecf162c3c80a957a36d0b",
"https://git.kernel.org/stable/c/89064d09c56b44c668509bf793c410484f63f5ad",
"https://git.kernel.org/stable/c/daab2cc17b6b6ab158566bba037e9551fd432b59",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43864.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-43864",
"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/2024/43xxx/CVE-2024-43864.json"
}
},
"related_cves": [
{
"value": "CVE-2024-43864",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 507863,
"published_at": "2024-08-20T23:45:28.833+00:00"
}