2022-06-20 13:55:51 |
errors.ubuntu.com bug bridge |
bug |
|
|
added bug |
2022-06-20 13:56:01 |
errors.ubuntu.com bug bridge |
bug |
|
|
added subscriber Benjamin Drung |
2022-06-20 14:32:53 |
Benjamin Drung |
description |
The Ubuntu Error Tracker has been receiving reports about a problem regarding apport. This problem was most recently seen with package version 2.20.11-0ubuntu82.1, the problem page at https://errors.ubuntu.com/problem/e714f8181c0785693f3a66969c594a3b19bcab2b contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/. |
The Ubuntu Error Tracker has been receiving reports about a problem regarding apport. This problem was most recently seen with package version 2.20.11-0ubuntu82.1, the problem page at https://errors.ubuntu.com/problem/e714f8181c0785693f3a66969c594a3b19bcab2b contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.
Traceback (most recent call last):
File "/usr/share/apport/apport", line 531, in <module>
options = parse_arguments()
File "/usr/share/apport/apport", line 463, in parse_arguments
parser.print_usage()
File "/usr/lib/python3.10/argparse.py", line 2562, in print_usage
self._print_message(self.format_usage(), file)
File "/usr/lib/python3.10/argparse.py", line 2573, in _print_message
file.write(message)
AttributeError: 'NoneType' object has no attribute 'write' |
|
2022-06-20 14:35:11 |
Benjamin Drung |
nominated for series |
|
Ubuntu Jammy |
|
2022-06-20 14:35:11 |
Benjamin Drung |
bug task added |
|
apport (Ubuntu Jammy) |
|
2022-06-20 14:35:11 |
Benjamin Drung |
nominated for series |
|
Ubuntu Impish |
|
2022-06-20 14:35:11 |
Benjamin Drung |
bug task added |
|
apport (Ubuntu Impish) |
|
2022-06-20 14:35:11 |
Benjamin Drung |
nominated for series |
|
Ubuntu Focal |
|
2022-06-20 14:35:11 |
Benjamin Drung |
bug task added |
|
apport (Ubuntu Focal) |
|
2022-06-20 14:35:21 |
Benjamin Drung |
bug task added |
|
apport |
|
2022-06-20 14:35:39 |
Benjamin Drung |
apport: milestone |
|
2.22.0 |
|
2022-06-22 12:58:07 |
Benjamin Drung |
description |
The Ubuntu Error Tracker has been receiving reports about a problem regarding apport. This problem was most recently seen with package version 2.20.11-0ubuntu82.1, the problem page at https://errors.ubuntu.com/problem/e714f8181c0785693f3a66969c594a3b19bcab2b contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.
Traceback (most recent call last):
File "/usr/share/apport/apport", line 531, in <module>
options = parse_arguments()
File "/usr/share/apport/apport", line 463, in parse_arguments
parser.print_usage()
File "/usr/lib/python3.10/argparse.py", line 2562, in print_usage
self._print_message(self.format_usage(), file)
File "/usr/lib/python3.10/argparse.py", line 2573, in _print_message
file.write(message)
AttributeError: 'NoneType' object has no attribute 'write' |
The Ubuntu Error Tracker has been receiving reports about a problem regarding apport. This problem was most recently seen with package version 2.20.11-0ubuntu82.1, the problem page at https://errors.ubuntu.com/problem/e714f8181c0785693f3a66969c594a3b19bcab2b contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.
Traceback (most recent call last):
File "/usr/share/apport/apport", line 531, in <module>
options = parse_arguments()
File "/usr/share/apport/apport", line 463, in parse_arguments
parser.print_usage()
File "/usr/lib/python3.10/argparse.py", line 2562, in print_usage
self._print_message(self.format_usage(), file)
File "/usr/lib/python3.10/argparse.py", line 2573, in _print_message
file.write(message)
AttributeError: 'NoneType' object has no attribute 'write'
This bug can be reproduced by configuring the previously supported parameters to Apport and then let a process crash (e.g. call divide-by-zero):
```
echo "|/usr/share/apport/apport %p %s %c %d %P %E" | sudo tee /proc/sys/kernel/core_pattern
```
So this bug is a regression of commit c320e910a516 ("Switch to using non-positional arguments") which is a fix for CVE-2022-28658 and CVE-2021-3899. |
|
2022-06-22 13:13:31 |
Benjamin Drung |
apport (Ubuntu): status |
New |
Triaged |
|
2022-06-22 13:13:33 |
Benjamin Drung |
apport: status |
New |
Triaged |
|
2022-06-22 14:49:58 |
Benjamin Drung |
apport (Ubuntu): importance |
Undecided |
Medium |
|
2022-06-22 14:50:01 |
Benjamin Drung |
apport: importance |
Undecided |
Medium |
|
2022-06-22 14:58:56 |
Benjamin Drung |
apport: status |
Triaged |
Fix Committed |
|
2022-06-27 10:13:11 |
Benjamin Drung |
apport: status |
Fix Committed |
Fix Released |
|
2022-06-27 14:31:06 |
Launchpad Janitor |
apport (Ubuntu): status |
Triaged |
Fix Released |
|
2022-06-27 16:52:19 |
Benjamin Drung |
description |
The Ubuntu Error Tracker has been receiving reports about a problem regarding apport. This problem was most recently seen with package version 2.20.11-0ubuntu82.1, the problem page at https://errors.ubuntu.com/problem/e714f8181c0785693f3a66969c594a3b19bcab2b contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.
Traceback (most recent call last):
File "/usr/share/apport/apport", line 531, in <module>
options = parse_arguments()
File "/usr/share/apport/apport", line 463, in parse_arguments
parser.print_usage()
File "/usr/lib/python3.10/argparse.py", line 2562, in print_usage
self._print_message(self.format_usage(), file)
File "/usr/lib/python3.10/argparse.py", line 2573, in _print_message
file.write(message)
AttributeError: 'NoneType' object has no attribute 'write'
This bug can be reproduced by configuring the previously supported parameters to Apport and then let a process crash (e.g. call divide-by-zero):
```
echo "|/usr/share/apport/apport %p %s %c %d %P %E" | sudo tee /proc/sys/kernel/core_pattern
```
So this bug is a regression of commit c320e910a516 ("Switch to using non-positional arguments") which is a fix for CVE-2022-28658 and CVE-2021-3899. |
Test Case
---------
There should be no instances of
https://errors.ubuntu.com/problem/e714f8181c0785693f3a66969c594a3b19bcab2b
for the fixed version.
Original Description
--------------------
The Ubuntu Error Tracker has been receiving reports about a problem regarding apport. This problem was most recently seen with package version 2.20.11-0ubuntu82.1, the problem page at https://errors.ubuntu.com/problem/e714f8181c0785693f3a66969c594a3b19bcab2b contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.
Traceback (most recent call last):
File "/usr/share/apport/apport", line 531, in <module>
options = parse_arguments()
File "/usr/share/apport/apport", line 463, in parse_arguments
parser.print_usage()
File "/usr/lib/python3.10/argparse.py", line 2562, in print_usage
self._print_message(self.format_usage(), file)
File "/usr/lib/python3.10/argparse.py", line 2573, in _print_message
file.write(message)
AttributeError: 'NoneType' object has no attribute 'write'
This bug can be reproduced by configuring the previously supported parameters to Apport and then let a process crash (e.g. call divide-by-zero):
```
echo "|/usr/share/apport/apport %p %s %c %d %P %E" | sudo tee /proc/sys/kernel/core_pattern
```
So this bug is a regression of commit c320e910a516 ("Switch to using non-positional arguments") which is a fix for CVE-2022-28658 and CVE-2021-3899. |
|
2022-06-29 13:47:57 |
Benjamin Drung |
apport (Ubuntu Impish): status |
New |
Won't Fix |
|
2022-07-26 15:24:06 |
Benjamin Drung |
apport (Ubuntu Focal): status |
New |
Fix Committed |
|
2022-07-26 15:24:10 |
Benjamin Drung |
apport (Ubuntu Jammy): status |
New |
Fix Committed |
|
2022-07-27 14:01:33 |
Benjamin Drung |
apport: importance |
Medium |
High |
|
2022-07-27 14:01:35 |
Benjamin Drung |
apport (Ubuntu): importance |
Medium |
High |
|
2022-08-23 20:36:53 |
Benjamin Drung |
description |
Test Case
---------
There should be no instances of
https://errors.ubuntu.com/problem/e714f8181c0785693f3a66969c594a3b19bcab2b
for the fixed version.
Original Description
--------------------
The Ubuntu Error Tracker has been receiving reports about a problem regarding apport. This problem was most recently seen with package version 2.20.11-0ubuntu82.1, the problem page at https://errors.ubuntu.com/problem/e714f8181c0785693f3a66969c594a3b19bcab2b contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.
Traceback (most recent call last):
File "/usr/share/apport/apport", line 531, in <module>
options = parse_arguments()
File "/usr/share/apport/apport", line 463, in parse_arguments
parser.print_usage()
File "/usr/lib/python3.10/argparse.py", line 2562, in print_usage
self._print_message(self.format_usage(), file)
File "/usr/lib/python3.10/argparse.py", line 2573, in _print_message
file.write(message)
AttributeError: 'NoneType' object has no attribute 'write'
This bug can be reproduced by configuring the previously supported parameters to Apport and then let a process crash (e.g. call divide-by-zero):
```
echo "|/usr/share/apport/apport %p %s %c %d %P %E" | sudo tee /proc/sys/kernel/core_pattern
```
So this bug is a regression of commit c320e910a516 ("Switch to using non-positional arguments") which is a fix for CVE-2022-28658 and CVE-2021-3899. |
Impact
------
As it can be seen in https://errors.ubuntu.com/problem/e714f8181c0785693f3a66969c594a3b19bcab2b there are thousands of crashes of this type (and multiple duplicate bug reports for it). Instead of apport logging a failure in /var/log/apport.log, it crashes. Fixing this bug also fixes the issue with logging failures in the socket path (for handling crashes in containers).
Test Case
---------
There should be no instances of
https://errors.ubuntu.com/problem/e714f8181c0785693f3a66969c594a3b19bcab2b
for the fixed version.
Where problems could occur
--------------------------
The apport binary is called by the kernel when a process crashes. Worst case scenarios include breaking the apport binary and no problem report is generated any more (or apport uses too much resources). Since all the desired logs are now logged, it could increase the amount of logs that are written (apport has some flood detection in case a process dies constantly).
Original Description
--------------------
The Ubuntu Error Tracker has been receiving reports about a problem regarding apport. This problem was most recently seen with package version 2.20.11-0ubuntu82.1, the problem page at https://errors.ubuntu.com/problem/e714f8181c0785693f3a66969c594a3b19bcab2b contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.
Traceback (most recent call last):
File "/usr/share/apport/apport", line 531, in <module>
options = parse_arguments()
File "/usr/share/apport/apport", line 463, in parse_arguments
parser.print_usage()
File "/usr/lib/python3.10/argparse.py", line 2562, in print_usage
self._print_message(self.format_usage(), file)
File "/usr/lib/python3.10/argparse.py", line 2573, in _print_message
file.write(message)
AttributeError: 'NoneType' object has no attribute 'write'
This bug can be reproduced by configuring the previously supported parameters to Apport and then let a process crash (e.g. call divide-by-zero):
```
echo "|/usr/share/apport/apport %p %s %c %d %P %E" | sudo tee /proc/sys/kernel/core_pattern
```
So this bug is a regression of commit c320e910a516 ("Switch to using non-positional arguments") which is a fix for CVE-2022-28658 and CVE-2021-3899. |
|
2022-11-23 10:35:29 |
Benjamin Drung |
apport (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2022-11-23 10:35:32 |
Benjamin Drung |
apport (Ubuntu Jammy): status |
Fix Committed |
Fix Released |
|
2022-11-23 17:08:22 |
Benjamin Drung |
nominated for series |
|
Ubuntu Bionic |
|
2022-11-23 17:08:22 |
Benjamin Drung |
bug task added |
|
apport (Ubuntu Bionic) |
|