You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NULL pointer dereference when reading regular files #138
apfs_inode_trim_overallocation() initializes ai to NULL and then reads ai->i_has_dstream before assigning ai = APFS_I(inode). Reading a regular file therefore dereferences a NULL pointer, even on a read-only mount.
On Fedora with Linux 7.3.3 and APFS driver commit a2931f3, a read-only mount probe produced:
Activity
eafer commentedon Nov 10, 2026
Ughh I keep breaking more things than I fix. Thanks for the report.
Fix npd in previous untested patch
eafer commentedon Nov 10, 2026
Ok, I just pushed a patch. Still untested, but I'll run tests next.
QinCai-rui commentedon Nov 11, 2026
yay!! once the t2 linux patches are merged, i can do some testing as well! :)