[Bug 774646] New: udevd race for netlink events
https://bugzilla.novell.com/show_bug.cgi?id=774646 https://bugzilla.novell.com/show_bug.cgi?id=774646#c0 Summary: udevd race for netlink events Classification: openSUSE Product: openSUSE 12.2 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: rmilasan@suse.com ReportedBy: mls@suse.com QAContact: qa-bugs@suse.de Found By: Development Blocker: --- Hi, here's another patch for udev: when a netlink event comes in after a rules reload was triggered, the worker process will crash with a segfault. This is because the reload frees all rules, but a netlink event may get run before the rules are read again. The call frame for the segfault is: event_queue_insert (in the is_netlink block) event_run (the "run all events with a timeout set immediately" case) worker_new udev_event_execute_rules udev_rules_apply_to_event -> segfault (rules is NULL) My patch simply loads the rules in that case, which fixes the boot for the affected systems. The netlink event in our case is a firmware load event. (Upstream may want to fix this differently, e.g. by putting the event on the queue instead of loading the rules.) Please submit a fixed version for Factory and 12.2. Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=774646
https://bugzilla.novell.com/show_bug.cgi?id=774646#c1
--- Comment #1 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=774646
https://bugzilla.novell.com/show_bug.cgi?id=774646#c2
Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=774646
https://bugzilla.novell.com/show_bug.cgi?id=774646#c3
--- Comment #3 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=774646
https://bugzilla.novell.com/show_bug.cgi?id=774646#c4
Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=774646
https://bugzilla.novell.com/show_bug.cgi?id=774646#c5
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=774646
https://bugzilla.novell.com/show_bug.cgi?id=774646#c6
Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=774646
https://bugzilla.novell.com/show_bug.cgi?id=774646#c7
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=774646
https://bugzilla.novell.com/show_bug.cgi?id=774646#c8
Robert Milasan
participants (1)
-
bugzilla_noreply@novell.com