staging: rtl8723bs: fix memory leak on failure path
In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix memory leak on failure path cfg80211_inform_bss_frame() may return NULL on failure. In that case, the allocated buffer 'buf' is not freed and the function returns early, leading to potential memory leak. Fix this by ensuring that 'buf' is freed on both success and failure paths.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.15.202, 6.1.165, 6.12.75, 6.18.16, 6.19.6, 6.6.128
- CVEs
- CVE-2026-43225
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 21:41 UTC · Revision 1
Source evidence
staging: rtl8723bs: fix memory leak on failure path
core-osv · Original sourcePublished 6 May 2026, 11:28 UTC
In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix memory leak on failure path cfg80211_inform_bss_frame() may return NULL on failure. In that case, the allocated buffer 'buf' is not freed and the function returns early, leading to potential memory leak. Fix this by ensuring that 'buf' is freed on both success and failure paths.
osv:CVE-2026-43225
Kernel
Fixed versions: 5.15.202, 6.1.165, 6.6.128, 6.12.75, 6.18.16, 6.19.6
Complete source record
{
"id": "fd2f1fa5ec0eb2c42e8a3034519ea604e7ee9fb04498445d654c71927b38946e",
"url": "https://osv.dev/vulnerability/CVE-2026-43225",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "staging: rtl8723bs: fix memory leak on failure path",
"summary": "In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix memory leak on failure path cfg80211_inform_bss_frame() may return NULL on failure. In that case, the allocated buffer 'buf' is not freed and the function returns early, leading to potential memory leak. Fix this by ensuring that 'buf' is freed on both success and failure paths.",
"evidence": "osv:CVE-2026-43225",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.15.202",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.165",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.128",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.75",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.16",
"evidence": "/affected/1/ranges"
},
{
"value": "6.19.6",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-43225",
"aliases": [
"CVE-2026-43225"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "554c0a3abf216c991c5ebddcdb2c08689ecd290b"
},
{
"fixed": "9874e33ce52ba449ab0ade78752a2d37a2294617"
},
{
"fixed": "a968c6a39607c129b8ac2c3c2a5e8923574e90d0"
},
{
"fixed": "8311bb40698ba027649d5d1ca84ad4bf25270546"
},
{
"fixed": "9f70f78e22b321429afc77befecedf05543d4e2c"
},
{
"fixed": "af48c1a0abe849e167fc754b6c260b6d8350b6fd"
},
{
"fixed": "017295b17bf1f477246c95bd253a7ef0cb4684c9"
},
{
"fixed": "abe850d82c8cb72d28700673678724e779b1826e"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43225.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.12.0"
},
{
"fixed": "5.15.202"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.165"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.128"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.75"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.16"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "6.19.6"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43225.json"
}
}
],
"modified": "2026-10-28T02:30:40.049748586Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/017295b17bf1f477246c95bd253a7ef0cb4684c9",
"https://git.kernel.org/stable/c/8311bb40698ba027649d5d1ca84ad4bf25270546",
"https://git.kernel.org/stable/c/9874e33ce52ba449ab0ade78752a2d37a2294617",
"https://git.kernel.org/stable/c/9f70f78e22b321429afc77befecedf05543d4e2c",
"https://git.kernel.org/stable/c/a968c6a39607c129b8ac2c3c2a5e8923574e90d0",
"https://git.kernel.org/stable/c/abe850d82c8cb72d28700673678724e779b1826e",
"https://git.kernel.org/stable/c/af48c1a0abe849e167fc754b6c260b6d8350b6fd",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43225.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-43225",
"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/2026/43xxx/CVE-2026-43225.json"
}
},
"related_cves": [
{
"value": "CVE-2026-43225",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 507401,
"published_at": "2026-05-06T11:28:24.289+00:00"
}