{"id":"CVE-2025-68255","state":"PUBLISHED","title":"staging: rtl8723bs: fix stack buffer overflow in OnAssocReq IE parsing","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: rtl8723bs: fix stack buffer overflow in OnAssocReq IE parsing\n\nThe Supported Rates IE length from an incoming Association Request frame\nwas used directly as the memcpy() length when copying into a fixed-size\n16-byte stack buffer (supportRate). A malicious station can advertise an\nIE length larger than 16 bytes, causing a stack buffer overflow.\n\nClamp ie_len to the buffer size before copying the Supported Rates IE,\nand correct the bounds check when merging Extended Supported Rates to\nprevent a second potential overflow.\n\nThis prevents kernel stack corruption triggered by malformed association\nrequests.","publishedAt":"2025-12-16T14:44:58.031Z","updatedAt":"2026-08-05T12:10:30.152Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"49b7806851f93fd342838c93f4f765e0cc5029b0","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"4445adedae770037078803d1ce41f9e88a1944b6","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"d129dc2a5d59b4d9cd2cc0b6eeb04df8461199f0","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"34620eb602aa432f090b2b784ee5c5070fb16cf9","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"61871c83259a511980ec2664964cecc69005398b","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"25411f5fcf5743131158f337c99c2bbf3f8477f5","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"e841d8ea722315b781c4fc5bf4f7670fbca88875","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"6ef0e1c10455927867cac8f0ed6b49f328f8cf95","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/staging/rtl8723bs/core/rtw_mlme_ext.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.12","versionType":"semver"},{"version":"5.10.248","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.198","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.160","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.120","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.62","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.17.12","status":"unaffected","lessThanOrEqual":"6.17.*","versionType":"semver"},{"version":"6.18.1","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/staging/rtl8723bs/core/rtw_mlme_ext.c"]}],"references":["https://git.kernel.org/stable/c/49b7806851f93fd342838c93f4f765e0cc5029b0","https://git.kernel.org/stable/c/4445adedae770037078803d1ce41f9e88a1944b6","https://git.kernel.org/stable/c/d129dc2a5d59b4d9cd2cc0b6eeb04df8461199f0","https://git.kernel.org/stable/c/34620eb602aa432f090b2b784ee5c5070fb16cf9","https://git.kernel.org/stable/c/61871c83259a511980ec2664964cecc69005398b","https://git.kernel.org/stable/c/25411f5fcf5743131158f337c99c2bbf3f8477f5","https://git.kernel.org/stable/c/e841d8ea722315b781c4fc5bf4f7670fbca88875","https://git.kernel.org/stable/c/6ef0e1c10455927867cac8f0ed6b49f328f8cf95"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/68xxx/CVE-2025-68255.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-68255","state":"PUBLISHED","datePublished":"2025-12-16T14:44:58.031Z","dateUpdated":"2026-08-05T12:10:30.152Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-12-16T13:41:40.267Z"},"containers":{"cna":{"title":"staging: rtl8723bs: fix stack buffer overflow in OnAssocReq IE parsing","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: rtl8723bs: fix stack buffer overflow in OnAssocReq IE parsing\n\nThe Supported Rates IE length from an incoming Association Request frame\nwas used directly as the memcpy() length when copying into a fixed-size\n16-byte stack buffer (supportRate). A malicious station can advertise an\nIE length larger than 16 bytes, causing a stack buffer overflow.\n\nClamp ie_len to the buffer size before copying the Supported Rates IE,\nand correct the bounds check when merging Extended Supported Rates to\nprevent a second potential overflow.\n\nThis prevents kernel stack corruption triggered by malformed association\nrequests."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"49b7806851f93fd342838c93f4f765e0cc5029b0","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"4445adedae770037078803d1ce41f9e88a1944b6","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"d129dc2a5d59b4d9cd2cc0b6eeb04df8461199f0","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"34620eb602aa432f090b2b784ee5c5070fb16cf9","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"61871c83259a511980ec2664964cecc69005398b","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"25411f5fcf5743131158f337c99c2bbf3f8477f5","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"e841d8ea722315b781c4fc5bf4f7670fbca88875","versionType":"git"},{"version":"554c0a3abf216c991c5ebddcdb2c08689ecd290b","status":"affected","lessThan":"6ef0e1c10455927867cac8f0ed6b49f328f8cf95","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/staging/rtl8723bs/core/rtw_mlme_ext.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.12","versionType":"semver"},{"version":"5.10.248","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.198","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.160","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.120","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.62","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.17.12","status":"unaffected","lessThanOrEqual":"6.17.*","versionType":"semver"},{"version":"6.18.1","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/staging/rtl8723bs/core/rtw_mlme_ext.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/49b7806851f93fd342838c93f4f765e0cc5029b0"},{"url":"https://git.kernel.org/stable/c/4445adedae770037078803d1ce41f9e88a1944b6"},{"url":"https://git.kernel.org/stable/c/d129dc2a5d59b4d9cd2cc0b6eeb04df8461199f0"},{"url":"https://git.kernel.org/stable/c/34620eb602aa432f090b2b784ee5c5070fb16cf9"},{"url":"https://git.kernel.org/stable/c/61871c83259a511980ec2664964cecc69005398b"},{"url":"https://git.kernel.org/stable/c/25411f5fcf5743131158f337c99c2bbf3f8477f5"},{"url":"https://git.kernel.org/stable/c/e841d8ea722315b781c4fc5bf4f7670fbca88875"},{"url":"https://git.kernel.org/stable/c/6ef0e1c10455927867cac8f0ed6b49f328f8cf95"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:A - A nearby station can send a crafted 802.11 Association or Reassociation Request through the rtl8723bs AP receive path; dependence on Wi-Fi radio range and channel makes this Adjacent.\nAC:L - The attacker controls the authentication exchange and malformed IE contents, with no race or uncontrollable condition required. Oversized copies deterministically corrupt the stack or trigger hardening checks.\nPR:N - Open System authentication creates the required station state without credentials. The overflow occurs before WPA/RSN credential proof or the four-way handshake.\nUI:N - Once the device is operating as an access point, receiving the malicious frames requires no victim action.\nS:U - The vulnerable driver and the compromised kernel resources belong to the same operating-system security authority.\nC:H - The attacker-controlled overwrite can reach saved return state, enabling control-flow hijacking and arbitrary kernel-memory disclosure in a successful exploit.\nI:H - The copies can write hundreds of attacker-controlled bytes beyond the stack array and reach return state, supporting kernel code execution and arbitrary modification.\nA:H - The overflow corrupts the stack canary or triggers fortify checks, causing a kernel panic or fatal fault, and an attacker can repeat it after recovery."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T12:10:30.152Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"5.10.248"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"5.15.198"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"6.1.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"6.6.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"6.12.62"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"6.17.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"6.18.1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"6.19"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}