Skip to content
Memory corruption Write-up Advanced

(CVE-2022-26718) macOS smbfs Out-of-Bounds Read due to parse nic info

The macOS smbfs driver contains an out-of-bounds read when parsing network information, which could allow an attacker to crash the system or potentially disclose memory. The report does not provide reproduction steps or exploit details.

starlabs.sg

Published on starlabs.sg

smbfs stands for Samba file system of macOS, which is used for communication and linking with Samba file server. smbfs allows users to connect a remote shared folder to Finder.

The author, on starlabs.sg

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a missing bounds check when parsing network information in the smbfs driver.

Impact

An attacker could potentially cause a denial of service or disclose sensitive memory, but the report does not confirm exploitability.

What the attacker needed

MacOS 11.x or 12.x; ability to connect to a malicious SMB server

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

This report is about a bug in a part of macOS that lets you connect to shared folders on other computers. The bug is an out-of-bounds read, which means the program reads memory it should not, and this can cause a crash or leak information. The report is very short and does not explain how to trigger the bug.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.