IBM Support

IZ82593: POTENTIAL CRASH IN THE IDECDROM DRIVER DURING OPEN() APPLIES TO AIX 5300-10

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Potential systen crash while attempting to open an
    invalid
    idecdrom device. The stack will look similar to:
    
    --- CPU #0 ---
    pvthread+015500 STACK:
    [0001AD00]abend_trap+000000 ()
    [047A7690]idecdrom_open+000D90 (??, ??, ??, ??)
    [004AFC38]devcopen+000418 (??, ??, ??, ??, ??)
    [004AF2C0]rdevopen+000100 (??, ??, ??, ??, ??)
    [006D4930]bdev_open+000030 (F10006000F63FB10,
    0000800300008003,
       0000000000000000)
    [0064A038]spec_open+000278 (??, ??, ??, ??, ??)
    [004B906C]vnop_open+00046C (??, ??, ??, ??, ??)
    [00523204]openpnp+000544 (??, ??, ??, ??, ??, ??)
    [00523740]openpath+000100 (??, ??, ??, ??, ??, ??, ??)
    [00523BBC]copen+00023C (??, ??, ??, ??, ??)
    [00522C3C]kopen+00001C (??, ??, ??)
    [00003844].svc_instr+000144 ()
    [kdb_get_virtual_memory] no real storage @ 2FF21B40
    [D0132D38]D0132D38 ()
    [kdb_read_mem] no real storage @ FFFFFFFFFFF8D20
    

Local fix

  • Do not call open on invalid device.
    

Problem summary

  • crash with stack trace:
     0001AD00 abend_trap+000000 ()
     047A7690 idecdrom_open+000D90 (??, ??, ??, ??)
     004AFC38 devcopen+000418 (??, ??, ??, ??, ??)
     004AF2C0 rdevopen+000100 (??, ??, ??, ??, ??)
     006D4930 bdev_open+000030 (F10006000F63FB10,
    0000800300008003,
    0000000000000000)
     0064A038 spec_open+000278 (??, ??, ??, ??, ??)
     004B906C vnop_open+00046C (??, ??, ??, ??, ??)
     00523204 openpnp+000544 (??, ??, ??, ??, ??, ??)
     00523740 openpath+000100 (??, ??, ??, ??, ??, ??, ??)
     00523BBC copen+00023C (??, ??, ??, ??, ??)
     00522C3C kopen+00001C (??, ??, ??)
     00003844 .svc_instr+000144 ()
     kdb_get_virtual_memory  no real storage @ 2FF21B40
     D0132D38 D0132D38 ()
     kdb_read_mem  no real storage @ FFFFFFFFFFF8D20
    

Problem conclusion

  • Validate minor number before using it as an index in an array.
    

Temporary fix

Comments

  • 5300-09 - use AIX APAR IZ82756
    5300-10 - use AIX APAR IZ82593
    5300-11 - use AIX APAR IZ82729
    5300-12 - use AIX APAR IZ81724
    6100-02 - use AIX APAR IZ80403
    

APAR Information

  • APAR number

    IZ82593

  • Reported component name

    AIX 5.3

  • Reported component ID

    5765G0300

  • Reported release

    530

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2010-08-10

  • Closed date

    2010-08-10

  • Last modified date

    2013-03-29

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

    IZ74020

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

Fix information

  • Fixed component name

    AIX 5.3

  • Fixed component ID

    5765G0300

Applicable component levels

  • R530 PSY U837921

       UP10/09/20 I 1000

PTF to Fileset Mapping

[{"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":"530","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
29 March 2013