Thanks for the SRU documentation Dmitry! I updated the bug report with the information. We should be able to get the fix added soon for you to verify
** Description changed: + [ Impact ] + + exim 4.97 crashes on messages with size >2Mb and regex being used in acl_smtp_data or anywhere else where PCRE2 library calls are invoked for message processing. + The following message is written to paniclog: + + ... bad internal_store_malloc request (2147483632 bytes) from + function_store_get 66 + + This bug is fixed already in the mainstream exim 4.98: + https://bugs.exim.org/show_bug.cgi?id=3047 + + [ Test Plan ] + + 1. in the config should be lines like this: + acl_smtp_data = acl_check_data + + acl_check_data: + deny message = "Rejected MAIL: Dating FREE" + regex = ^.*Dating\.FREE* + + 2. Send a message with attachment size >2Mb by SMTP via exim + 3. Check the following conditions: + a) exim4 daemon is crashed + b) log contains an error "bad internal_store_malloc request (2147483632 bytes) from function_store_get 66" + + [ Where problems could occur ] + + To fix the problem several patches were cherry-picked, the new build is available here: + https://launchpad.net/~bryce/+archive/ubuntu/exim4-sru-lp2077893/+packages + + Unfortunately, cherry-picking only a single patch does not resolve the problem. + Potentially all 6 patches merged may cause other problems, but this was not detected. + On the other hand, exim with all 6 patches applied works stable in a production system with heavy traffic. + + [ Other Info ] + + Please find the discussion here: + https://bugs.launchpad.net/ubuntu/+source/exim4/+bug/2077893 + + The same problem affected Debian as well: https://bugs- + devel.debian.org/cgi-bin/bugreport.cgi?bug=1053447 + + [Original Description] + Current version exim, 4.97 have crashes in pcre2 library when counting quotas for messages. It affect large mailboxes sizes. Can be found by greping log files following lines: "bad internal_store_malloc request (2147483632 bytes) from function_store_get 66" root@mail:~# lsb_release -rd No LSB modules are available. Description: Ubuntu 24.04 LTS Release: 24.04 root@mail:~# dpkg -l |grep exim ii exim4 4.97-4ubuntu4.1 all metapackage to ease Exim MTA (v4) installation ii exim4-base 4.97-4ubuntu4.1 amd64 support files for all Exim MTA (v4) packages ii exim4-config 4.97-4ubuntu4.1 all configuration for the Exim MTA (v4) ii exim4-daemon-heavy 4.97-4ubuntu4.1 amd64 Exim MTA (v4) daemon with extended features, including exiscan-acl - - This bug have discussed and fixed yet in exim version 4.98 but not ported for actual Ubuntu versions. Can you help me about this? + This bug have discussed and fixed yet in exim version 4.98 but not + ported for actual Ubuntu versions. Can you help me about this? https://bugs.exim.org/show_bug.cgi?id=3047 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2077893 Title: Current exim version have crashes inside PCRE2 lib To manage notifications about this bug go to: https://bugs.launchpad.net/exim/+bug/2077893/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
