https://sourceware.org/bugzilla/show_bug.cgi?id=31967

            Bug ID: 31967
           Summary: datarace in elf_compress[_gnu]
           Product: elfutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libelf
          Assignee: unassigned at sourceware dot org
          Reporter: mark at klomp dot org
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

elf_compress[_gnu] tries to swap out the section data with a compressed or
decompressed version. They do that by calling __libelf_reset_rawdata without
taking any locks, but it then calls __libelf_set_data_list_rdlock as if it did
take a lock.

There might also be an issue with how the Shdr is updated, which is also done
without taking a lock.

And updating the Elf_Section zdata[_base|size|align] values.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to