High
Security advisory
An issue was discovered in ksmbd in the Linux kernel 5.15 through 5.19 before 5.19.2. There is a heap-based buffer overflow in set_ntacl_dacl, related to use of SMB2_QUERY_INFO_HE after a malformed SMB2_SET_INFO_HE command.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-47942
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 17:06 UTC · Revision 1
Source evidence
An issue was discovered in ksmbd in the Linux kernel 5.15 through 5.19 before 5.19.2. There is a heap-based buffer overflow in set_ntacl_dacl, related to use of SMB2_QUERY_INFO_HE after a malformed SMB2_SET_INFO_HE command.
osv:CVE-2022-47942
Complete source record
{
"id": "8f97df29bed1fdd671a5347acaac6a690d053b3285e78ff72eb5b5a42c46c476",
"url": "https://osv.dev/vulnerability/CVE-2022-47942",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2022-47942",
"summary": "An issue was discovered in ksmbd in the Linux kernel 5.15 through 5.19 before 5.19.2. There is a heap-based buffer overflow in set_ntacl_dacl, related to use of SMB2_QUERY_INFO_HE after a malformed SMB2_SET_INFO_HE command.",
"evidence": "osv:CVE-2022-47942",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2022-47942",
"aliases": [
"CVE-2022-47942"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git",
"type": "GIT",
"events": [
{
"introduced": "8bb7eca972ad531c9b149c0a51ab43a417385813"
},
{
"fixed": "8f0541186e9ad1b62accc9519cc2b7a7240272a7"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "5.15"
},
{
"last_affected": "5.19"
}
],
"source": "DESCRIPTION"
},
{
"range": [
{
"fixed": "8f0541186e9ad1b62accc9519cc2b7a7240272a7"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v5.19-rc1",
"v5.19-rc5",
"v5.19-rc6",
"v5.18",
"v5.19-rc2",
"v5.19-rc7",
"v5.19-rc3",
"v5.19-rc4",
"v5.18-rc1",
"v5.18-rc7",
"v5.18-rc2",
"v5.18-rc5",
"v5.17",
"v5.18-rc4",
"v5.18-rc3",
"v5.18-rc6",
"v5.17-rc6",
"v5.17-rc4",
"v5.17-rc8",
"v5.17-rc7",
"v5.17-rc1",
"v5.17-rc3",
"v5.17-rc2",
"v5.17-rc5",
"v5.16",
"v5.16-rc1",
"v5.16-rc8",
"v5.16-rc5",
"v5.16-rc6",
"v5.16-rc7",
"v5.16-rc3",
"v5.16-rc2",
"v5.16-rc4",
"v5.15"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-47942.json"
}
}
],
"modified": "2026-10-28T02:30:37.990183767Z",
"provider": "osv",
"references": [
"https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.19.2",
"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8f0541186e9ad1b62accc9519cc2b7a7240272a7",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/47xxx/CVE-2022-47942.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-47942",
"https://www.zerodayinitiative.com/advisories/ZDI-22-1688/",
"https://github.com/torvalds/linux/commit/8f0541186e9ad1b62accc9519cc2b7a7240272a7"
],
"provider_metadata": {
"cna_assigner": "mitre",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "5.19.2"
}
],
"source": "DESCRIPTION"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/47xxx/CVE-2022-47942.json"
}
},
"related_cves": [
{
"value": "CVE-2022-47942",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505147,
"published_at": "2022-12-23T00:00:00+00:00"
}