IBM Support

IV43775: SYMLINK: 3K OF KERNEL MEMORY CORRUPTED BY LONG PATHNAME

Readmes are available

Readme and Release notes for release 3.4.0.23 GPFS-3.4.0.23-power-AIX
Readme and Release notes for release 3.4.0.23 GPFS-3.4.0.23-power-Linux
Readme and Release notes for release 3.4.0.23 GPFS-3.4.0.23-IA64-Linux
Readme and Release notes for release 3.4.0.23 GPFS-3.4.0.23-x86-Linux
Readme and Release notes for release 3.4.0.23 GPFS-3.4.0.23-x86_64-Linux
Readme and Release notes for release 3.4.0.24 GPFS-3.4.0.24-power-Linux
Readme and Release notes for release 3.4.0.24 GPFS-3.4.0.24-IA64-Linux
Readme and Release notes for release 3.4.0.24 GPFS-3.4.0.24-x86-Linux
Readme and Release notes for release 3.4.0.24 GPFS-3.4.0.24-x86_64-Linux
Readme and Release notes for release 3.4.0.24 GPFS-3.4.0.24-x86_64-Windows-2008
Readme and Release notes for release 3.4.0.25 GPFS-3.4.0.25-power-AIX
Readme and Release notes for release 3.4.0.25 GPFS-3.4.0.25-power-Linux
Readme and Release notes for release 3.4.0.25 GPFS-3.4.0.25-IA64-Linux
Readme and Release notes for release 3.4.0.25 GPFS-3.4.0.25-x86-Linux
Readme and Release notes for release 3.4.0.25 GPFS-3.4.0.25-x86_64-Linux
Readme and Release notes for release 3.4.0.25 GPFS-3.4.0.25-x86_64-Windows-2008
Readme and Release notes for release 3.4.0.26 GPFS-3.4.0.26-power-AIX
Readme and Release notes for release 3.4.0.26 GPFS-3.4.0.26-power-Linux
Readme and Release notes for release 3.4.0.26 GPFS-3.4.0.26-IA64-Linux
Readme and Release notes for release 3.4.0.26 GPFS-3.4.0.26-x86-Linux
Readme and Release notes for release 3.4.0.26 GPFS-3.4.0.26-x86_64-Linux
Readme and Release notes for release 3.4.0.26 GPFS-3.4.0.26-x86_64-Windows-2008
Readme and Release notes for release 3.4.0.27 GPFS-3.4.0.27-power-AIX
Readme and Release notes for release 3.4.0.27 GPFS-3.4.0.27-power-Linux
Readme and Release notes for release 3.4.0.27 GPFS-3.4.0.27-IA64-Linux
Readme and Release notes for release 3.4.0.27 GPFS-3.4.0.27-x86_64-Linux
Readme and Release notes for release 3.4.0.27 GPFS-3.4.0.27-x86_64-Windows-2008
Readme and Release notes for release 3.4.0.28 GPFS-3.4.0.28-IA64-Linux
Readme and Release notes for release 3.4.0.28 GPFS-3.4.0.28-x86-Linux
Readme and Release notes for release 3.4.0.28 GPFS-3.4.0.28-x86_64-Linux
Readme and Release notes for release 3.4.0.28 GPFS-3.4.0.28-x86_64-Windows-2008
Readme and Release notes for release 3.4.0.28 GPFS-3.4.0.28-power-Linux
Readme and Release notes for release 3.4.0.28 GPFS-3.4.0.28-power-AIX
Readme and Release notes for release 3.4.0.29 GPFS-3.4.0.29-power-AIX
Readme and Release notes for release 3.4.0.29 GPFS-3.4.0.29-power-Linux
Readme and Release notes for release 3.4.0.29 GPFS-3.4.0.29-IA64-Linux
Readme and Release notes for release 3.4.0.29 GPFS-3.4.0.29-x86-Linux
Readme and Release notes for release 3.4.0.29 GPFS-3.4.0.29-x86_64-Linux
Readme and Release notes for release 3.4.0.29 GPFS-3.4.0.29-x86_64-Windows-2008
Readme and Release notes for release 3.4.0.30 GPFS-3.4.0.30-power-AIX
Readme and Release notes for release 3.4.0.30 GPFS-3.4.0.30-power-Linux
Readme and Release notes for release 3.4.0.30 GPFS-3.4.0.30-IA64-Linux
Readme and Release notes for release 3.4.0.30 GPFS-3.4.0.30-x86-Linux
Readme and Release notes for release 3.4.0.30 GPFS-3.4.0.30-x86_64-Linux
Readme and Release notes for release 3.4.0.30 GPFS-3.4.0.30-x86_64-Windows-2008
Readme and Release notes for release 3.4.0.31 GPFS-3.4.0.31-power-AIX
Readme and Release notes for release 3.4.0.31 GPFS-3.4.0.31-power-Linux
Readme and Release notes for release 3.4.0.31 GPFS-3.4.0.31-IA64-Linux
Readme and Release notes for release 3.4.0.31 GPFS-3.4.0.31-x86-Linux
Readme and Release notes for release 3.4.0.31 GPFS-3.4.0.31-x86_64-Linux
Readme and Release notes for release 3.4.0.31 GPFS-3.4.0.31-x86_64-Windows-2008
Readme and Release notes for release 3.4.0.32 GPFS-3.4.0.32-power-Linux
Readme and Release notes for release 3.4.0.32 GPFS-3.4.0.32-IA64-Linux
Readme and Release notes for release 3.4.0.32 GPFS-3.4.0.32-x86_64-Windows-2008
Readme and Release notes for release 3.4.0.33 GPFS-3.4.0.33-power-AIX
Readme and Release notes for release 3.4.0.33 GPFS-3.4.0.33-power-Linux
Readme and Release notes for release 3.4.0.33 GPFS-3.4.0.33-IA64-Linux
Readme and Release notes for release 3.4.0.33 GPFS-3.4.0.33-x86_64-Linux
Readme and Release notes for release 3.4.0.33 GPFS-3.4.0.33-x86_64-Windows-2008

 

APAR status

  • Closed as program error.

Error description

  • In gpfs_i_follow_link, we allocate 1K buffer but
    misrepresent it as a 4K buffer when calling gpfsReadlink.
    Under normal conditions this is not harmful, because we
    don't allow symlinks longer than 255 characters/1023 bytes,
    but under some (not yet understood) conditions gpfsReadlink
    may encounter a symlink object which has file size set larger,
    and end up writing outside the allocated buffer.
    

Local fix

Problem summary

  • In gpfs_i_follow_link, we allocate 1K buffer but
    misrepresent it as a 4K buffer when calling gpfsReadlink.
    Under normal conditions this is not harmful, because we
    don't allow symlinks longer than 255 characters/1023 bytes,
    but under some (not yet understood) conditions gpfsReadlink
    may encounter a symlink object which has file size set larger,
    and end up writing outside the allocated buffer.
    

Problem conclusion

  • Avoid potential kernel heap corruption if unexpectedly large
    symlink object is encountered
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV43775

  • Reported component name

    GPFS/AIX5L V3

  • Reported component ID

    5765G66AP

  • Reported release

    340

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2013-06-04

  • Closed date

    2013-06-04

  • Last modified date

    2015-05-14

  • APAR is sysrouted FROM one or more of the following:

    IV43774

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    GPFS/AIX5L V3

  • Fixed component ID

    5765G66AP

Applicable component levels

  • R340 PSY U869511

       15/05/14 I 1000

PTF to Fileset Mapping

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"340","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSFKCN","label":"General Parallel File System"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"340","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSFKCN","label":"General Parallel File System"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"340","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSFKCN","label":"General Parallel File System"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"340","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11N","label":"APARs - AIX 5.1 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"340","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11P","label":"APARs - AIX 5.3 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"340","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11M","label":"APARs - AIX 5.2 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"340","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SG11Q","label":"AIX 6.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"340","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SG11R","label":"APARs - AIX 7.1 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"340","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
22 August 2022