Page MenuHomeFreeBSD

linux: Fix SMAP-enabled futex routines
ClosedPublic

Authored by markj on May 15 2021, 3:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 15, 10:14 PM
Unknown Object (File)
Sun, Dec 7, 12:45 AM
Unknown Object (File)
Fri, Dec 5, 11:20 PM
Unknown Object (File)
Mon, Dec 1, 4:22 AM
Unknown Object (File)
Tue, Nov 25, 12:29 PM
Unknown Object (File)
Fri, Nov 21, 9:23 PM
Unknown Object (File)
Thu, Nov 20, 2:45 AM
Unknown Object (File)
Thu, Nov 20, 2:39 AM
Subscribers

Details

Summary

Some of them were dereferencing the user pointer before disabling SMAP.

PR: 255591
Tested by: pitwuu@gmail.com

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39205
Build 36094: arc lint + arc unit

Event Timeline

markj requested review of this revision.May 15 2021, 3:29 PM

It is indeed weird, because cb0eecdf927 was reported by relatively many people, and you can see testers.

This revision is now accepted and ready to land.May 15 2021, 7:21 PM
In D30276#680193, @kib wrote:

It is indeed weird, because cb0eecdf927 was reported by relatively many people, and you can see testers.

Some of the ops did not have this bug, so I guess only those ops were being used before. The reporter of PR 255591 also claimed that the panic does not occur on 13.0, which is also strange.

This revision was automatically updated to reflect the committed changes.