URfkill Segmentation fault with missing DMI info

Bug #1921919 reported by William Wilson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
urfkill (Ubuntu)
Fix Released
Medium
William Wilson

Bug Description

The version of urfkill in -proposed has a possible segmentation fault if the call to get_dmi_info fails. After this there is an attempt to free an uninitialized variable. This was blocking the migration from -proposed.

kernel: urfkilld[46754]: segfault (11) at 0 nip 955592940dc lr 955592940d4 code 1 in urfkill (11) at 0 nip 955592940dc lr 955592940d4 code 1 in urfkilld[95559280000+30000]
kernel: urfkilld[46754]: code: 38a56b88 38800010 4bff07ad e8410018 4bfffcac 3ca2fffd 7e238b a56b88 38800010 4bff07ad e8410018 4bfffcac 3ca2fffd 7e238b78 38a56ad0
kernel: urfkilld[46754]: code: 38800010 4bff0791 e8410018 39200000 <93090000> eb010100 4bff800010 4bff0791 e8410018 39200000 <93090000> eb010100 4bfff5e4 60000000

Tags: patch
Revision history for this message
William Wilson (jawn-smith) wrote :
Changed in urfkill (Ubuntu):
status: New → In Progress
assignee: nobody → William Wilson (jawn-smith)
importance: Undecided → Medium
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Patch with corrected LP reference" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package urfkill - 0.6.0~20150318.103828.5539c0d.1-0ubuntu9

---------------
urfkill (0.6.0~20150318.103828.5539c0d.1-0ubuntu9) hirsute; urgency=medium

  * Allow extra byte in rfkill event struct. This is related to a kernel
    change with commit id 14486c82612a177cb910980c70ba900827ca0894. The
    new byte was added to track the reason for rfkill events. (LP: #1922117)

 -- William 'jawn-smith' Wilson <email address hidden> Wed, 31 Mar 2021 12:50:00 -0500

Changed in urfkill (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.