Bug ID 913385: TMM generates core while deleting iFiles

Last Modified: Apr 17, 2024

Affected Product(s):
BIG-IP LTM(all modules)

Known Affected Versions:
15.1.0, 15.1.0.1, 15.1.0.2, 15.1.0.3, 15.1.0.4, 15.1.0.5, 15.1.1, 15.1.2, 15.1.2.1, 15.1.3, 15.1.3.1, 15.1.4, 15.1.4.1, 15.1.5, 15.1.5.1, 15.1.6, 15.1.6.1, 15.1.7, 15.1.8, 15.1.8.1, 15.1.8.2, 15.1.9, 15.1.9.1, 15.1.10, 15.1.10.2, 15.1.10.3, 15.1.10.4, 16.0.0, 16.0.0.1, 16.0.1, 16.0.1.1, 16.0.1.2, 16.1.0, 16.1.1, 16.1.2, 16.1.2.1, 16.1.2.2, 16.1.3, 16.1.3.1, 16.1.3.2, 16.1.3.3, 16.1.3.4, 16.1.3.5, 16.1.4, 16.1.4.1, 16.1.4.2

Opened: Jun 02, 2020

Severity: 3-Major

Symptoms

While deleting iFiles, TMM might crash and generates a core.

Impact

TMM crashes and restarts, triggering failover in high availability (HA) configurations. Traffic disruption while TMM restarts on a standalone configuration.

Conditions

-- There is any ifile command in an iRule where you are giving a list object to the file name argument instead of to a string object, for example: The 2nd line returns a list object, and the 3rd line is giving it to ifile command: set ifile_name tcl.1 set ifile_name [lsearch -glob -inline [ifile listall] "*$ifile_name"] ifile get $ifile_name -- A request is processed by the iRule. -- Attempt to delete the file in which the issue occurred.

Workaround

Ensure that the iRule gives a string object to ifile commands. Here is a sample iRule that implements the workaround: set ifile_name tcl.1 set ifile_name [lsearch -glob -inline [ifile listall] "*$ifile_name"] ifile get [format "%s" $ifile_name]

Fix Information

None

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips