Page MenuHomeFreeBSD

Linuxulator. Fix 'unsupported futex op' messages storm.
ClosedPublic

Authored by dchagin on Jan 11 2015, 2:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 6, 2:12 AM
Unknown Object (File)
Mon, Oct 28, 8:19 AM
Unknown Object (File)
Oct 11 2024, 6:31 PM
Unknown Object (File)
Oct 3 2024, 3:06 AM
Unknown Object (File)
Sep 30 2024, 5:04 PM
Unknown Object (File)
Sep 26 2024, 7:51 AM
Unknown Object (File)
Sep 26 2024, 12:03 AM
Unknown Object (File)
Sep 24 2024, 9:38 PM

Details

Summary

Print out unsupported futex operation message only once for the process.

Test Plan

http://www.exploit-db.com/exploits/35370/

Linuxulator is not compromised by this exploit, but I got a kernel live lock due to the generation of a large amounts of such messages. It seems to me that syslogd races somewhere.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dchagin retitled this revision from to Linuxulator. Fix 'unsupported futex op' messages storm..
dchagin updated this object.
dchagin added a reviewer: Linux Emulation.
dchagin added a subscriber: dumbbell.
trasz added a reviewer: trasz.
trasz added a subscriber: trasz.

Perhaps we should just default to not log anything for unsupported operations - basically turn down the debug in linux_msg() - but this change shouldn't hurt.

This revision is now accepted and ready to land.Mar 27 2015, 10:07 AM
This revision was automatically updated to reflect the committed changes.