# CVE-2026-100076: staging: rtl8723bs: fix xmit_frame/xmit_buf leaks on mgnt-frame error paths

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-09-25T13:06:48.057Z
- Modified: 2026-10-30T13:18:27.620Z
- Weaknesses: CWE-401
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

staging: rtl8723bs: fix xmit_frame/xmit_buf leaks on mgnt-frame error paths

issue_beacon(), issue_probersp() and issue_asocrsp() obtain a management
xmit_frame together with its xmit_buf from the driver's fixed-size
management-TX pools via alloc_mgtxmitframe(). On the normal path the frame
is handed to dump_mgntframe(), which transfers ownership and eventually
returns both objects to their pools (the frame and, for beacons, the buf
in rtl8723bs_mgnt_xmit(); other bufs via the pending-xmitbuf/TX-completion
path).

Several error/edge paths return early after a successful
alloc_mgtxmitframe() but before dump_mgntframe(), so ownership is never
transferred and neither object is freed:

  - issue_beacon(): beacon larger than 512 bytes
  - issue_probersp(): cur_network->ie_length > MAX_IE_SZ
  - issue_probersp(): kzalloc() of the SSID scratch buffer fails
  - issue_asocrsp(): pkt_type is neither ASSOCRSP nor REASSOCRSP

Because alloc_mgtxmitframe() removes the frame and buf from their free
lists (list_del_init) without placing them on any pending list, an
orphaned pair is on no list and referenced by nobody, so it is only
reclaimed at driver teardown. Repeated hits progressively exhaust the
management-TX pools until alloc_mgtxmitframe() returns NULL and the
interface can no longer send beacons or probe/assoc responses.

Free the frame and buffer on these paths, matching the existing correct
error handling in issue_assocreq().

(As written by CVE List.)

## Affected

- Linux Linux: from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 973a629f19c226c8f6080badea7ccf59cc04233f; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 17260b5215d4ced17a733e2c027a76290e476fad; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 2f5e2752c2b4bad01df4523cfe2b41b702c60f00; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 6c9f6a3b9fdd31a0836b681053155b5997c0156e; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before c48e5aa01525577d6b6e782962a5bfb0e1535cb5; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 41b8209376dffbd7b0b85c8bc4697d9166ac62ef; 4.12 (not affected: before 4.12; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.114 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)
- linux linux_kernel: from 4.12 before 6.18.52; from 6.19 before 7.2.6

## References

- <https://git.kernel.org/stable/c/973a629f19c226c8f6080badea7ccf59cc04233f>
- <https://git.kernel.org/stable/c/17260b5215d4ced17a733e2c027a76290e476fad>
- <https://git.kernel.org/stable/c/2f5e2752c2b4bad01df4523cfe2b41b702c60f00>
- <https://git.kernel.org/stable/c/6c9f6a3b9fdd31a0836b681053155b5997c0156e> (patch)
- <https://git.kernel.org/stable/c/c48e5aa01525577d6b6e782962a5bfb0e1535cb5> (patch)
- <https://git.kernel.org/stable/c/41b8209376dffbd7b0b85c8bc4697d9166ac62ef> (patch)

## Sources

- CVE List: [CVE-2026-100076](https://www.cve.org/CVERecord?id=CVE-2026-100076), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-100076](https://nvd.nist.gov/vuln/detail/CVE-2026-100076), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-100076 · Whole record: https://cve.day/CVE-2026-100076.json · Rebuilt by cve.day 2026-11-25T22:59:41.090Z
