[Bug 477607] New: mkfontscale produces syscalls with EINVAL

bugzilla at redhat.com bugzilla at redhat.com
Mon Dec 22 12:02:53 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: mkfontscale produces syscalls with EINVAL

https://bugzilla.redhat.com/show_bug.cgi?id=477607

           Summary: mkfontscale produces syscalls with EINVAL
           Product: Fedora
           Version: 9
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: medium
          Priority: low
         Component: freetype
        AssignedTo: besfahbo at redhat.com
        ReportedBy: sgrubb at redhat.com
         QAContact: extras-qa at fedoraproject.org
                CC: besfahbo at redhat.com, kevin at tigcc.ticalc.org,
                    fedora-fonts-bugs-list at redhat.com
    Classification: Fedora


Created an attachment (id=327635)
 --> (https://bugzilla.redhat.com/attachment.cgi?id=327635)
patch fixing problems described herein

Description of problem:
The mkfontscale program uses the freetype library. Our IDS work shows that the
freetype library causes mmap syscalls with EINVAL return codes. This is because
its not checking the length of the file before calling mmap. If the file is
opened readonly and the length is 0, the kernel does not like it.


How reproducible:
always

Steps to Reproduce:
1. add to audit rules: -a always,exit -S mmap -F exit=-ENIVAL -k einval
2. reboot system
3. ausearch --start recent -k einval

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-fonts-bugs-list mailing list