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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    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.

_______________________________________________
Fedora-fonts-bugs-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list

Reply via email to