Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-16510

Provide an interim 'good' fortified memcpy from 6.1

    XMLWordPrintable

Details

    • 3
    • 9223372036854775807

    Description

      The fortified memcpy() from kernel v5.11-11104-ga28a6e860c6c through v5.18-rc5-1405-g43213daed6d6 incorrectly reports a false positive.

       13:54:25 In function 'memcpy',
       13:54:25     inlined from 'lov_iocontrol' at /tmp/rpmbuild-lustre-jenkins-4fGYbbr1/BUILD/lustre-2.15.53_116_g5d22f15/lustre/lov/lov_obd.c:1057:4:
       13:54:25 include/linux/fortify-string.h:187:25: error: call to '__read_overflow2' declared with attribute error: detected read beyond size of object passed as 2nd parameter
       13:54:25   187 |                         __read_overflow2();
       13:54:25       |                         ^~~~~~~~~~~~~~~~~~
      

      Attachments

        Issue Links

          Activity

            People

              paf0186 Patrick Farrell (Inactive)
              stancheff Shaun Tancheff
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: